Commit 8f10ba50 authored by zhangyaodan's avatar zhangyaodan Committed by 杨奕

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

parent e4335bf9
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment