diff --git a/packages/vtable/src/ListTable.ts b/packages/vtable/src/ListTable.ts index ebb270ee2..d1849fff8 100644 --- a/packages/vtable/src/ListTable.ts +++ b/packages/vtable/src/ListTable.ts @@ -1118,7 +1118,7 @@ export class ListTable extends BaseTable implements ListTableAPI { //重复逻辑抽取updateWidthHeight if (sort !== undefined) { - if ((!Array.isArray(sort) && isValid(sort.field)) || Array.isArray(sort)) { + if (sort === null || (!Array.isArray(sort) && isValid(sort.field)) || Array.isArray(sort)) { this.internalProps.sortState = this.internalProps.multipleSort ? (Array.isArray(sort) ? sort : [sort]) : sort; this.stateManager.setSortState((this as any).sortState as SortState); }