在 vue 的 updated 中添加方法,如下

updated(){
  this.$nextTick(() => {
    this.$refs['tableRef'].doLayout();
  })
}

 

最后修改于 2020-12-29 14:47:58
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付
上一篇