Table: Expand rows when set `expand-row-keys`

pull/7605/head
lirilsu 2017-10-18 16:11:47 +08:00 committed by 杨奕
parent ec182424ad
commit 00c5028d8d
1 changed files with 7 additions and 2 deletions

View File

@ -443,8 +443,13 @@
} }
}, },
expandRowKeys(newVal) { expandRowKeys: {
this.store.setExpandRowKeys(newVal); immediate: true,
handler(newVal) {
if (newVal) {
this.store.setExpandRowKeys(newVal);
}
}
} }
}, },