自定义表头

This commit is contained in:
zyx.net
2023-02-02 13:56:36 +08:00
parent 03644065da
commit e5a2b3df4a
@@ -2064,14 +2064,12 @@
onCheckAllChange(e) { onCheckAllChange(e) {
this.checkedList = e.target.checked ? this.customizeList.map(item => item.field) : []; this.checkedList = e.target.checked ? this.customizeList.map(item => item.field) : [];
this.selectedValue = this.checkedList this.selectedValue = this.checkedList
this.indeterminate = false; this.indeterminate = false
}, },
onChange(){ onChange(){
console.log(this.selectedValue,'console.log(this.selectedValue)')
this.selectedValue = this.checkedList this.selectedValue = this.checkedList
}, },
getcustomize(){ getcustomize(){
console.log(11111)
this.customizevisible = true this.customizevisible = true
}, },
cancel(){ cancel(){