...">

vue.esm.js?a026:5059 [Vue warn]: Error in data(): "Error: Invalid unit zone"

found in

---> at src/views/login/SignUp.vue at src/App.vue warn$2 @ vue.esm.js?a026:5059 logError @ vue.esm.js?a026:3728 globalHandleError @ vue.esm.js?a026:3724 handleError @ vue.esm.js?a026:3691 getData @ vue.esm.js?a026:4375 initData @ vue.esm.js?a026:4336 initState @ vue.esm.js?a026:4277 Vue._init @ vue.esm.js?a026:4665 VueComponent @ vue.esm.js?a026:5777 createComponentInstanceForVnode @ vue.esm.js?a026:4998 init @ vue.esm.js?a026:4860 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 patch @ vue.esm.js?a026:7023 Vue._update @ vue.esm.js?a026:2842 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher @ vue.esm.js?a026:4109 mountComponent @ vue.esm.js?a026:2964 Vue.$mount @ vue.esm.js?a026:9244 Vue.$mount @ vue.esm.js?a026:11809 init @ vue.esm.js?a026:4861 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 addVnodes @ vue.esm.js?a026:6644 updateChildren @ vue.esm.js?a026:6788 patchVnode @ vue.esm.js?a026:6861 patch @ vue.esm.js?a026:7029 Vue._update @ vue.esm.js?a026:2846 _update @ vue.esm.js?a026:9088 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher.run @ vue.esm.js?a026:4195 flushSchedulerQueue @ vue.esm.js?a026:3193 eval @ vue.esm.js?a026:3826 flushCallbacks @ vue.esm.js?a026:3748 Promise.then (async) timerFunc @ vue.esm.js?a026:3773 nextTick @ vue.esm.js?a026:3838 queueWatcher @ vue.esm.js?a026:3278 Watcher.update @ vue.esm.js?a026:4186 Dep.notify @ vue.esm.js?a026:782 reactiveSetter @ vue.esm.js?a026:1019 proxySetter @ vue.esm.js?a026:4264 open @ vue-datetime.js?859b:861 invokeWithErrorHandling @ vue.esm.js?a026:3700 invoker @ vue.esm.js?a026:1524 original_1._wrapper @ vue.esm.js?a026:7945 Show 10 more frames vue.esm.js?a026:3732 Error: Invalid unit zone at normalizeUnit (luxon.js?1315:6222:1) at normalizeObject (luxon.js?1315:652:1) at Function.fromObject (luxon.js?1315:6643:1) at VueComponent.data (vue-datetime.js?859b:204:1) at getData (vue.esm.js?a026:4372:1) at initData (vue.esm.js?a026:4336:1) at initState (vue.esm.js?a026:4277:1) at Vue._init (vue.esm.js?a026:4665:1) at new VueComponent (vue.esm.js?a026:5777:1) at createComponentInstanceForVnode (vue.esm.js?a026:4998:1) logError @ vue.esm.js?a026:3732 globalHandleError @ vue.esm.js?a026:3724 handleError @ vue.esm.js?a026:3691 getData @ vue.esm.js?a026:4375 initData @ vue.esm.js?a026:4336 initState @ vue.esm.js?a026:4277 Vue._init @ vue.esm.js?a026:4665 VueComponent @ vue.esm.js?a026:5777 createComponentInstanceForVnode @ vue.esm.js?a026:4998 init @ vue.esm.js?a026:4860 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 patch @ vue.esm.js?a026:7023 Vue._update @ vue.esm.js?a026:2842 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher @ vue.esm.js?a026:4109 mountComponent @ vue.esm.js?a026:2964 Vue.$mount @ vue.esm.js?a026:9244 Vue.$mount @ vue.esm.js?a026:11809 init @ vue.esm.js?a026:4861 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 addVnodes @ vue.esm.js?a026:6644 updateChildren @ vue.esm.js?a026:6788 patchVnode @ vue.esm.js?a026:6861 patch @ vue.esm.js?a026:7029 Vue._update @ vue.esm.js?a026:2846 _update @ vue.esm.js?a026:9088 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher.run @ vue.esm.js?a026:4195 flushSchedulerQueue @ vue.esm.js?a026:3193 eval @ vue.esm.js?a026:3826 flushCallbacks @ vue.esm.js?a026:3748 Promise.then (async) timerFunc @ vue.esm.js?a026:3773 nextTick @ vue.esm.js?a026:3838 queueWatcher @ vue.esm.js?a026:3278 Watcher.update @ vue.esm.js?a026:4186 Dep.notify @ vue.esm.js?a026:782 reactiveSetter @ vue.esm.js?a026:1019 proxySetter @ vue.esm.js?a026:4264 open @ vue-datetime.js?859b:861 invokeWithErrorHandling @ vue.esm.js?a026:3700 invoker @ vue.esm.js?a026:1524 original_1._wrapper @ vue.esm.js?a026:7945 Show 9 more frames vue.esm.js?a026:5059 [Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'month')"

found in

---> at src/views/login/SignUp.vue at src/App.vue warn$2 @ vue.esm.js?a026:5059 logError @ vue.esm.js?a026:3728 globalHandleError @ vue.esm.js?a026:3724 handleError @ vue.esm.js?a026:3691 Vue._render @ vue.esm.js?a026:2515 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher @ vue.esm.js?a026:4109 mountComponent @ vue.esm.js?a026:2964 Vue.$mount @ vue.esm.js?a026:9244 Vue.$mount @ vue.esm.js?a026:11809 init @ vue.esm.js?a026:4861 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 createChildren @ vue.esm.js?a026:6592 createElm @ vue.esm.js?a026:6496 patch @ vue.esm.js?a026:7023 Vue._update @ vue.esm.js?a026:2842 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher @ vue.esm.js?a026:4109 mountComponent @ vue.esm.js?a026:2964 Vue.$mount @ vue.esm.js?a026:9244 Vue.$mount @ vue.esm.js?a026:11809 init @ vue.esm.js?a026:4861 createComponent @ vue.esm.js?a026:6519 createElm @ vue.esm.js?a026:6473 addVnodes @ vue.esm.js?a026:6644 updateChildren @ vue.esm.js?a026:6788 patchVnode @ vue.esm.js?a026:6861 patch @ vue.esm.js?a026:7029 Vue._update @ vue.esm.js?a026:2846 _update @ vue.esm.js?a026:9088 updateComponent @ vue.esm.js?a026:2947 Watcher.get @ vue.esm.js?a026:4119 Watcher.run @ vue.esm.js?a026:4195 flushSchedulerQueue @ vue.esm.js?a026:3193 eval @ vue.esm.js?a026:3826 flushCallbacks @ vue.esm.js?a026:3748 Promise.then (async) timerFunc @ vue.esm.js?a026:3773 nextTick @ vue.esm.js?a026:3838 queueWatcher @ vue.esm.js?a026:3278 Watcher.update @ vue.esm.js?a026:4186 Dep.notify @ vue.esm.js?a026:782 reactiveSetter @ vue.esm.js?a026:1019 proxySetter @ vue.esm.js?a026:4264 open @ vue-datetime.js?859b:861 invokeWithErrorHandling @ vue.esm.js?a026:3700 invoker @ vue.esm.js?a026:1524 original_1._wrapper @ vue.esm.js?a026:7945 Show 11 more frames vue.esm.js?a026:3732 TypeError: Cannot read properties of undefined (reading 'month') at VueComponent.newMonth (vue-datetime.js?859b:215:1) at Watcher.get (vue.esm.js?a026:4119:1) at Watcher.evaluate (vue.esm.js?a026:4220:1) at VueComponent.computedGetter [as newMonth] (vue.esm.js?a026:4445:1) at VueComponent.monthName (vue-datetime.js?859b:218:1) at Watcher.get (vue.esm.js?a026:4119:1) at Watcher.evaluate (vue.esm.js?a026:4220:1) at Proxy.computedGetter (vue.esm.js?a026:4445:1) at Proxy.render (vue-datetime.js?859b:171:1) at Vue._render (vue.esm.js?a026:2512:1)

发布于 2022-09-01 10:30
共0个回答
回答问题