601表格排序后刷新报错
This commit is contained in:
@@ -547,7 +547,9 @@ export default {
|
||||
// 取消表格排序高亮的箭头
|
||||
if (this.column.prop) {
|
||||
const columns = this.$refs['dataTable_' + this.index]
|
||||
? (this.$refs['dataTable_' + this.index].$refs.tableHeader
|
||||
? ((Array.isArray(this.$refs['dataTable_' + this.index])
|
||||
?this.$refs['dataTable_' + this.index][0].$refs.tableHeader
|
||||
:this.$refs['dataTable_' + this.index].$refs.tableHeader)
|
||||
? this.$refs['dataTable_' + this.index].$refs.tableHeader.columns
|
||||
: [])
|
||||
: []
|
||||
|
||||
Reference in New Issue
Block a user