v3.5.0 显隐列初始默认隐藏列

This commit is contained in:
YunaiV 2022-02-15 20:00:34 +08:00
parent 33d8dbef45
commit 053007ef9e

View File

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