在Watch监听数组里面里加上
immediate: true,
watch:{ myArrList:{ immediate: true, handler(curVal,oldVal){ console.log(curVal,oldVal) } , deep:true } },
在Watch监听数组里面里加上
immediate: true,
watch:{ myArrList:{ immediate: true, handler(curVal,oldVal){ console.log(curVal,oldVal) } , deep:true } },