vue.js:597 [Vue warn]: Error in callback for watcher "dat": "TypeError: Cannot read property 'call' of undefined"

 

watch监听器,深度监听  

模式属性写错,

                dat:{
                    deep:true,
                    hander:function (newV, oldV) {
                        console.log(newV[0].name)
                    }
                },

hander写错了,应该是handler

出错,进本是格式写错,到官网查一查

Logo

前往低代码交流专区

更多推荐