vux xinput组件由空变为null的bug

zujrkrfu  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(48)

xinput组件由空变为null时会报以下错误
[Vue warn]: Error in callback for watcher "currentValue": "TypeError: Cannot read property 'length' of null"

TypeError: Cannot read property 'length' of null
at VueComponent.currentValue (index.vue?2b40:551)
at Watcher.run (vue.esm.js?efeb:3233)
at flushSchedulerQueue (vue.esm.js?efeb:2981)
at Array.eval (vue.esm.js?efeb:1837)
at flushCallbacks (vue.esm.js?efeb:1758)

相关问题