摘要: 1. 问题描述:el-table使用固定列时,使用keep-alive后页面切换导致该列错位。 2. 解决方法:使用el-table的doLayout方法对表格进行重新布局 activated() { this.$nextTick(() => { this.$refs.myTable.doLayou 阅读全文
posted @ 2023-01-05 15:49 Li_pk 阅读(1362) 评论(0) 推荐(0)