Skip to content

Commit 97c0ac0

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/pages/options/routes/ScriptList.tsx‎

Lines changed: 1 addition & 1 deletion
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)