fixed #2128
This commit is contained in:
parent
9b24f1ab7b
commit
76a4781417
2 changed files with 9 additions and 5 deletions
|
@ -49,10 +49,13 @@
|
|||
};
|
||||
},
|
||||
watch: {
|
||||
data(){
|
||||
this.stateTree = this.data;
|
||||
this.flatState = this.compileFlatState();
|
||||
this.rebuildTree();
|
||||
data: {
|
||||
deep: true,
|
||||
handler () {
|
||||
this.stateTree = this.data;
|
||||
this.flatState = this.compileFlatState();
|
||||
this.rebuildTree();
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue