element-ui
table selection
设置选中状态
this.$nextTick(() => {
this.page.records.forEach(row => {
if (row.checkStatus == 1) {
this.$refs.multipleTable.toggleRowSelection(row, true)
}
})
})
设置选中状态
this.$nextTick(() => {
this.page.records.forEach(row => {
if (row.checkStatus == 1) {
this.$refs.multipleTable.toggleRowSelection(row, true)
}
})
})