云哥 426浏览 0评论 2020-12-29
在 vue 的 updated 中添加方法,如下
updated(){ this.$nextTick(() => { this.$refs['tableRef'].doLayout(); }) }