diff --git a/src/pages/newCalendar/components/RecordCreationForm.vue b/src/pages/newCalendar/components/RecordCreationForm.vue index 7de9892..273737e 100644 --- a/src/pages/newCalendar/components/RecordCreationForm.vue +++ b/src/pages/newCalendar/components/RecordCreationForm.vue @@ -196,7 +196,7 @@ export default { defaultWidth = defaultWidth - e.offsetWidth; if (defaultWidth <= 10) return this.otherServices.push(e); }); - this.otherColor = this.otherServices[0]?.__vnode?.props?.style.background; + this.otherColor = this.otherServices[0]?.style.background; }, }, mounted() { @@ -206,8 +206,6 @@ export default {