mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Tree: fixed default-expanded-keys can not set again.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user