Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung committed Aug 29, 2019
1 parent dae727b commit 82ab140
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/table/src/store/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export default {

watch: {
normalizedData: 'updateTreeData',
// expandRowKeys 在 ExpandTable 中也有使用
expandRowKeys: 'updateTreeData',
normalizedLazyNode: 'updateTreeData'
},

Expand Down Expand Up @@ -155,6 +153,7 @@ export default {

updateTreeExpandKeys(value) {
this.states.expandRowKeys = value;
this.updateTreeData();
},

toggleTreeExpansion(row, expanded) {
Expand Down

0 comments on commit 82ab140

Please sign in to comment.