显隐列初始默认隐藏列

2.X
RuoYi 2021-03-24 17:33:44 +08:00 committed by 疯狂的狮子li
parent 13ee928716
commit a803acf772
1 changed files with 8 additions and 1 deletions

View File

@ -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() {