Skip to content

Commit 9c68b3f

Browse files
张韧njleonzhang
authored andcommitted
fix column click on the error
1 parent 529d48f commit 9c68b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DataTables.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export default {
317317
this.checkedFilters = checkedFilters
318318
},
319319
handleRowClick(row, event, column) {
320-
if (this.innerColNotRowClick.indexOf(column.property) === -1) {
320+
if (column && this.innerColNotRowClick.indexOf(column.property) === -1) {
321321
this.$emit('row-click', row)
322322
}
323323
},

0 commit comments

Comments
 (0)