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