解决elemet ui表格自适应高度 但是切换路由报Cannot read property XX of undefined at windowonresize错误问题
摘要:
/** * 自适应表格高度 * @param that * @param num */ export function fitHeight(that, num) { that.$nextTick(function () { that.tableHeight = window.innerHeight 阅读全文
posted @ 2021-02-03 11:31 老白菜菜 阅读(208) 评论(0) 推荐(0) 编辑