查阅文档可知element ui表格有一个doLayout()方法可以对表格进行重新布局.
代码:
this.$nextTick(() => {
this.$refs.tableDataRef.doLayout();
});
查阅文档可知element ui表格有一个doLayout()方法可以对表格进行重新布局.
代码:
this.$nextTick(() => {
this.$refs.tableDataRef.doLayout();
});