mounted() {
this.expandAll()
}
mothods: {
expandAll () {
const els = this.$el.getElementsByClassName('el-table__expand-icon')
for (let i = 0; i < els.length; i++) {
els[i].click()
}
}
}
mounted() {
this.expandAll()
}
mothods: {
expandAll () {
const els = this.$el.getElementsByClassName('el-table__expand-icon')
for (let i = 0; i < els.length; i++) {
els[i].click()
}
}
}