[Vue warn]: Error in render: "Ty

2019-08-23  本文已影响0人  前端雨

TypeError: Cannot read property 'length' of undefined
[Vue warn]: Error in render: "TypeError: Cannot read property 'length' of undefined"

Cannot read property 'length' of undefined
  1. 某个数组没值导致的问题
  2. 写了this.$emit('getDate', val)提交的方法的同时,又定义了this.$refs['formName'].getDate()方法导致的

数组赋值字段为null

Error in getter for watcher "parsedValue": "TypeError: Cannot read property 'length' of null"

上一篇 下一篇

猜你喜欢

热点阅读