vuefy icon indicating copy to clipboard operation
vuefy copied to clipboard

微信小程序使用 watch 和 computed

Results 5 vuefy issues
Sort by recently updated
recently updated
newest added

ios端运行小程序报错 jsEnginScriptError Maximum call stack size exceeded 定义属性的get方法中 if (data.$target) { subs.push(data.$target) data['$' + key] = subs } 报的错

如果computed依赖两个对象数组计算。修改对象的属性不会重新计算

onLoad: function (options) { const that = this computed(this, { isLoginButtonDisabled: function () { console.log(1); return !that.data.password || !that.data.username; } }) }, 1、在 username 改变时不会触发; 2、如果交换位置!that.data.username|| !that.data.password,则password修改时候不会触发。

watch与computed直接可以作为Page的相应属性。

feat: support component; fix: computed dep collect bug https://github.com/donghaohao/vuefy/issues/1