mirror of https://github.com/ElemeFE/element
Table: Expand rows when set `expand-row-keys`
parent
ec182424ad
commit
00c5028d8d
|
@ -443,9 +443,14 @@
|
|||
}
|
||||
},
|
||||
|
||||
expandRowKeys(newVal) {
|
||||
expandRowKeys: {
|
||||
immediate: true,
|
||||
handler(newVal) {
|
||||
if (newVal) {
|
||||
this.store.setExpandRowKeys(newVal);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
|
|
Loading…
Reference in New Issue