mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +08:00
fixed(table): sonarqube code smell bug
This commit is contained in:
parent
c69f72d5a8
commit
30df7f8e43
@ -911,9 +911,9 @@ export default {
|
||||
}
|
||||
}
|
||||
if (type !== 0) {
|
||||
Object.keys(this.sortIndexs).forEach(key => {
|
||||
if (key !== column.key) {
|
||||
this.sortIndexs[key] = 0
|
||||
Object.keys(this.sortIndexs).forEach(sorterKey => {
|
||||
if (sorterKey !== column.key) {
|
||||
this.sortIndexs[sorterKey] = 0
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user