摘要: 1.watch监听普通类型的数据: data() { return { frontPoints: 0 } }, watch: { frontPoints(newValue, oldValue) { console.log(newValue) } } 2.watch监听数组类型 的数据 data() 阅读全文
posted @ 2021-03-28 11:42 艾尔熙得 阅读(4798) 评论(0) 推荐(0)