建议在配置的defaultSort.order再额外加一个参数,不使用排序。 目前是 declare type TableSortOrder = "ascending" | "descending"; 我目前为了达到不使用排序的方案是 // 表格参数 tableOptions: { defaultSort: { prop: 'quantity', order: null }, } 将order配置为null
建议在配置的defaultSort.order再额外加一个参数,不使用排序。
目前是
declare type TableSortOrder = "ascending" | "descending";
我目前为了达到不使用排序的方案是
// 表格参数
tableOptions: {
defaultSort: { prop: 'quantity', order: null },
}
将order配置为null