显隐列初始默认隐藏列

pull/55/head
RuoYi 4 years ago
parent 25f94db9c5
commit 27d137a4ae

@ -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