element-ui

table selection

设置选中状态

this.$nextTick(() => {
	this.page.records.forEach(row => {
		if (row.checkStatus == 1) {
			this.$refs.multipleTable.toggleRowSelection(row, true)
		}
	})
})
posted @ 2021-11-12 10:36  fight139  阅读(26)  评论(0编辑  收藏  举报