修复列选择工具不刷新

This commit is contained in:
weicw
2021-08-18 17:36:40 +08:00
parent a4d087418b
commit 6c5aeb1e3e
4 changed files with 303 additions and 288 deletions

View File

@@ -479,9 +479,12 @@ export default {
},
columns() {
this.cols = this.columns;
if (this.toolbar) {
this.$nextTick(()=>{
if (this.toolbar) {
this.$refs.toolbar.initColumnList();
}
})
},
size() {
this.tableSize = this.size;