watch: {
/** 深度监听 对象*/
monthInvestmentDetail: {
deep: true, // default value is 'false', so it execute the depth of the listening when it set is 'true'
immediate: true, // default 'false', it execute the initialization times when it set 'true'
handler(newV) {
/** deal with code content */
},
}
},
VUE warch 深度监听
最新推荐文章于 2024-09-06 22:20:29 发布