我想监听globalData中某个数据的变化这么监听
xuejian123
- 发布:2019-09-16 16:28
- 更新:2019-09-16 16:58
- 阅读:756
l***@163.com
大神能贴一下代码吗,我这么写的 监听不到不到
computed: {
avatar_image_url: function() {
console.log(getApp().globalData.avatar_image_url)
return getApp().globalData.avatar_image_url
}
}
2020-06-14 02:36