vue报错及问题解决

一、

TypeError:_self。$ scopedSlots.default不是renderCell的函数
(eval at(app.js:1425),:10386:45)

  • 解决办法:
    使用v-show代替v-if
    https://blog.csdn.net/Zxiuping/article/details/84099969
二、

Cannot read property xxx of undefined (
Cannot read property 'xxx' of null
Cannot read property 'focus' of undefined

  • 解释:
    使用.xxx的那个对象为undefined
三、

解决 vue.js在火狐浏览器报错 "event is not defined" 的问题

https://blog.csdn.net/u012317188/article/details/79031327

四、

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#'

https://www.cnblogs.com/zhn0823/p/6820605.html?utm_source=itdadao&utm_medium=referral

五、

Invalid default value for prop "value": Props with type Object/Array must use a factory function to return the default value

  • 解释:
    props default 数组/对象的默认值应当由一个工厂函数返回
    https://segmentfault.com/q/1010000009467326
六、

vue项目报错如下:(Emitted value instead of an instance of Error)

  • 解决办法:
    检查下你的列表组件里,slot 里的