<el-table-column label="选择方式" :key="Math.random()" prop="selectStyle" />
给每一列加 :key="Math.random()"
如果表格出现抖动 加
beforeUpdate() {
this.$nextTick(() => {
this.$refs.table.doLayout()
})
},
<el-table-column label="选择方式" :key="Math.random()" prop="selectStyle" />
给每一列加 :key="Math.random()"
如果表格出现抖动 加
beforeUpdate() {
this.$nextTick(() => {
this.$refs.table.doLayout()
})
},