排序修改

This commit is contained in:
liuzanying
2023-09-19 16:56:45 +08:00
parent 2473fa84fd
commit 5b07f63718
8 changed files with 8 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ export default defineComponent({
width: 100,
// align: "center",
fixed: index === 0 ? "left" : null,
sorter: (a, b) => { return a.number > b.number? 1 : -1 },
sorter: (a, b) => { return a.number > b.number? -1 : 1 },
};
} else {
return {