element table 错位 解决方法

setTimeout(()=> {

            this.$nextTick(()=> {//dom更新后执行

              try{
                this.$refs.multipleTable.doLayout()//重新计算table布局
              }catch(e){
                console.log(e);
              }
            })

        },800)

 

posted @ 2021-05-25 15:46  骅骝漫轻舞01  阅读(175)  评论(0编辑  收藏  举报