Skip to content

Commit

Permalink
Table: Fix sort-change behaviour when sort condition is null (ElemeFE…
Browse files Browse the repository at this point in the history
  • Loading branch information
joelxr authored and lzq4047 committed May 22, 2020
1 parent 189d204 commit 81aa1c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/table/src/table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,6 @@ export default {

if (!order) {
sortOrder = column.order = null;
states.sortingColumn = null;
sortProp = null;
} else {
sortOrder = column.order = order;
}
Expand Down

0 comments on commit 81aa1c9

Please sign in to comment.