Browse Source

显隐列初始默认隐藏列

tags/v3.0.0
RuoYi 4 years ago
parent
commit
27d137a4ae
  1. 9
      ruoyi-ui/src/components/RightToolbar/index.vue

9
ruoyi-ui/src/components/RightToolbar/index.vue

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

Loading…
Cancel
Save