我喜欢用computed配合watch来实现监听
watch: {
pId () {
console.log(this.pId)
}
},
computed: {
pId () { return this.form.pId}
}
我喜欢用computed配合watch来实现监听
watch: {
pId () {
console.log(this.pId)
}
},
computed: {
pId () { return this.form.pId}
}
957

被折叠的 条评论
为什么被折叠?