Commit c8a659d8 authored by 张海景's avatar 张海景

update:修改表格组件的问题

parent 969040e8
......@@ -726,8 +726,7 @@ export default {
indeterminate: false,
checkedAll: false,
completeLoading: false,
aliTime: null,
isDisable: false
aliTime: null
};
},
created() {},
......@@ -823,12 +822,8 @@ export default {
this.currentRow = {};
},
cellClick(row, index, column) {
// this.isDisable = true;
// setTimeout(() => {
// this.isDisable = false;
console.log(row, index, 'rows cellClick');
this.$emit('cellClick', row, index, column);
// }, 500);
// console.log(row, index, 'rows cellClick');
this.$emit('cellClick', row, index, column);
},
toggleRowSelection(row) {
// console.log(row, 'rows99')
......@@ -874,16 +869,12 @@ export default {
this.$emit('toggleRowSelection', true, this.selectArr);
},
rowClick(row, index) {
// this.isDisable = true;
// setTimeout(() => {
// this.isDisable = false;
if (this.highlight) {
this.currentRowIndex = index;
this.currentRow = row;
this.$emit('currentChange', row, index);
}
this.$emit('rowClick', row, index);
// }, 500);
if (this.highlight) {
this.currentRowIndex = index;
this.currentRow = row;
this.$emit('currentChange', row, index);
}
this.$emit('rowClick', row, index);
},
checkboxSelectedAll(e) {
this.indeterminate = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment