摘要: this.$nextTick(()=> { try{ this.test = '1' this.$forceUpdate();//数据强制刷新 }catch(e){ console.log(e); } }) 阅读全文
posted @ 2021-05-25 15:49 骅骝漫轻舞01 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 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) 推荐(0) 编辑