style: 去除样式调整

This commit is contained in:
zhangyu
2021-07-07 18:33:05 +08:00
parent b8b75f0ae2
commit 5f2fd9f07e
3 changed files with 3 additions and 6 deletions

View File

@@ -179,7 +179,7 @@ export default {
// this.$refs.table.toggleRowExpansion(row)
// },
currentChange (row, expandedRows) {
if (this.expandRowKeys[0] && row.domain === this.expandRowKeys[0].domain) {
if (this.expandRowKeys[0] && (row.domain === this.expandRowKeys[0])) {
this.expandRowKeys = []
} else {
this.expandRowKeys = [row.domain]