Address element table column mismatch
Posted on Jan. 30, 2023, 11:37 a.m. by Cole Salas
Category:
The front end
Tag:
element
Source address: https://www.cnblogs.com/lily-sblog666/p/12915068.html
Methods a
Set it in the CSS
/deep/.el-table--border th.gutter:last-of-type {
display: table-cell ! important; }Copy the code
Method 2
DoLayout force rendering is performed after data is retrieved
setTimeout(() = {
this.$nextTick(() = {
this.$refs.table.doLayout()
})
}, 300)
Copy the code