mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
v3.5.0 显隐列初始默认隐藏列
This commit is contained in:
parent
33d8dbef45
commit
053007ef9e
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user