table 遮挡问题如下:
解决方式:
export const fixFotterSum = () => {
setTimeout(function () {
let TableBox = document.querySelectorAll(
'.el-table__fixed-footer-wrapper .el-table__footer tbody td.el-table__cell'
);
if (TableBox) {
TableBox.forEach((e) => {
e.style.padding = 0;
e.style.height = '36px';
});
}
}, 1000);
};
/** 全局路由设置 */
router.afterEach((to) => {
fixFotterSum();
});
结果如下:
如还有其他问题欢迎留言,一起解决!