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)
1条答案
按热度按时间5lwkijsr1#
我也出现这个bug了