修复列选择工具不刷新
This commit is contained in:
@@ -190,6 +190,11 @@ export default {
|
||||
fullScreenTipVisible: false
|
||||
};
|
||||
},
|
||||
watch:{
|
||||
columns(val){
|
||||
this.orgColumns = val
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 表格尺寸下拉选中
|
||||
selectedKeys() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user