Skip to content

Commit 97c0ac0

Browse files
committed
🐛 修复排序逻辑问题 #164
1 parent 0a3ae5a commit 97c0ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/pages/options/routes/ScriptList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function ScriptList() {
212212
dataIndex: "sort",
213213
width: 70,
214214
key: "sort",
215-
sorter: (a, b) => a.id - b.id,
215+
sorter: (a, b) => a.sort - b.sort,
216216
render(col) {
217217
return col + 1;
218218
},

0 commit comments

Comments
 (0)