vue watch对象或者数组的问题

普通的watch是这个样子的:javascript data() { return { frontPoints: 0 } }, watch: { frontPoints(newValue, oldValue) { console.log(newValue) } } 数组的watch是这个样的:java data() {
相关文章
相关标签/搜索