显隐列初始默认隐藏列

master
RuoYi 4 years ago
parent 505fa06dc3
commit 090e258bf9
  1. 9
      ruoyi-ui/src/components/RightToolbar/index.vue
  2. 11
      ruoyi-ui/src/views/system/user/profile/userAvatar.vue

@ -43,7 +43,14 @@ export default {
type: Array,
},
},
created() {
//
for (let item in this.columns) {
if (this.columns[item].visible === false) {
this.value.push(parseInt(item));
}
}
},
methods: {
//
toggleSearch() {

@ -81,14 +81,6 @@ export default {
},
previews: {}
};
},
created() {
//
for (let item in this.columns) {
if (this.columns[item].visible === false) {
this.value.push(parseInt(item))
}
}
},
methods: {
//
@ -145,9 +137,10 @@ export default {
realTime(data) {
this.previews = data;
},
//
//
closeDialog() {
this.options.img = store.getters.avatar
this.visible = false;
}
}
};

Loading…
Cancel
Save