摘要: 1,计算属性的用法 vue中计算属性能够实现一个数据依赖其他数据的变化而变化,话不多说先上代码 1 new Vue({ 2 data:{ 3 a:1 4 }, 5 mounted(){ 6 const that = this 7 setTimeout(function(){ 8 that.a = 2 阅读全文
posted @ 2020-06-28 11:30 PreciousnessX 阅读(2207) 评论(0) 推荐(0)