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,9 +443,14 @@
} }
}, },
expandRowKeys(newVal) { expandRowKeys: {
immediate: true,
handler(newVal) {
if (newVal) {
this.store.setExpandRowKeys(newVal); this.store.setExpandRowKeys(newVal);
} }
}
}
}, },
destroyed() { destroyed() {