添加 rating

This commit is contained in:
xuyue committed 2025-03-19 09:15:20 +08:00
1 parent 16fb09021d
commit 9eb18fedd4
8 files changed
+112 -109

No files matched your search

+2 -1
View File
@@ -133,6 +133,7 @@ export const Submission = {
},
async updateScore(id: string, score: number) {
await http.put(`/submission/${id}/score`, { score })
const res = await http.put(`/submission/${id}/score`, { score })
return res.data
},
}