Table: fix sort not working after clearSort (#9100)

pull/9159/head
zhangyaodan 2018-01-07 12:15:52 +08:00 committed by 杨奕
parent e4335bf9cc
commit 8f10ba50f2
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ export default {
let sortOrder;
const sortingColumn = states.sortingColumn;
if (sortingColumn !== column) {
if (sortingColumn !== column || (sortingColumn === column && sortingColumn.order === null)) {
if (sortingColumn) {
sortingColumn.order = null;
}