Tree: fixed default-expanded-keys can not set again.

This commit is contained in:
Furybean
2016-11-25 16:30:10 +08:00
committed by 杨奕
parent 812a953b1e
commit 807c06071d
4 changed files with 56 additions and 23 deletions

View File

@@ -106,11 +106,16 @@
},
watch: {
defaultCheckedKeys(newVal) {
this.store.defaultCheckedKeys = newVal;
this.store.setDefaultCheckedKey(newVal);
},
defaultExpandedKeys(newVal) {
this.store.defaultExpandedKeys = newVal;
this.store.setDefaultExpandedKeys(newVal);
},
data(newVal) {
this.store.setData(newVal);
},
defaultCheckedKeys(newVal) {
this.store.setDefaultCheckedKey(newVal);
}
},