data
has
watch
form
this.form.cat_id=1_7eb3340579783ab51bf7e110f7a4f397
this.form
watch
this.$set(this.form,"cat_id","1_7eb3340579783ab51bf7e110f7a4f397")
,this.form
watch
what I don"t understand even more is to use this.form.xx=yy
to modify other values, and the function is normal. What is the reason for this
I found a pattern
form.cat_id
in data
, this.form.cat_id= "xxx"
does not trigger watch
form.cat_id
in data
, this.form.cat_id= "xxx"
triggers watch
form.p
in data