nava
nava
  • 发布:2021-03-26 17:31
  • 更新:2021-03-26 22:56
  • 阅读:433

watch没有办法实现深度监听,求大佬救命

分类:uni-app

<view @tap="changeValue">
{{test}}
</view>

test : {
name : "123"
}

changeValue : function(){
this.test.name = 123456;
}

test : {
function(){
console.log('done');
},
deep : true
}

2021-03-26 17:31 负责人:无 分享
已邀请:
MonikaCeng

MonikaCeng

我也遇到同样问题,所以就不用深度变量

该问题目前已经被锁定, 无法添加新回复