数据分析,基础分析,表格排序;
This commit is contained in:
@@ -124,8 +124,8 @@ export default defineComponent({
|
||||
return 0;
|
||||
}
|
||||
switch(order) {
|
||||
case "ascend": return a[columnKey] - b[columnKey];
|
||||
case "descend": return b[columnKey] - a[columnKey];
|
||||
case "descend": return a[columnKey] - b[columnKey];
|
||||
case "ascend": return b[columnKey] - a[columnKey];
|
||||
default: return 0;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user