mvvm icon indicating copy to clipboard operation
mvvm copied to clipboard

添加代理函数_proxyAttribbute。代理vm.$options.methods 到vm上

Open chenzewang opened this issue 4 years ago • 0 comments

代理vm.$options.methodsvm上,不然watch里面不能以this.clickBtn获取到在methods里定义的clickBtn方法。 image

this.$options.methods.clickBtn获取的话clickBtn里的this指向就变了

chenzewang avatar Jun 16 '20 03:06 chenzewang