Vue项目中出现Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
at fn.run (vue.min.js:6:27749)
at un (vue.min.js:6:25760)
at Array.<anonymous> (vue.min.js:6:12466)
at qe (vue.min.js:6:11867)
报错来源vue.min.js难以精确定位bug位置,本次情况源于:
子组件里注册了一个属性的watch监听 但没有分配handler方法
分类: 前端