methods: {
getList() {
getHomeInfor({ projectId: this.projectId }).then(response => {
this.gefangjianchicun = response.data
this.$nextTick(function() {
if (this.gefangjianchicun) {
this.gefangjianchicun.forEach(row => {
if (row.type === '计算类型4' || row.type === '计算类型8' || row.type === '计算类型9' || row.type === '计算类型12') {
this.$refs.multipleTable.toggleRowSelection(row)
}
})
}
})
})
}
}
el-table默认做勾选
最新推荐文章于 2024-05-17 16:40:55 发布