This commit is contained in:
2025-03-19 13:00:26 +08:00
parent 9eb18fedd4
commit 6eb63696c6

View File

@@ -102,7 +102,7 @@ const columns: DataTableColumn<SubmissionOut>[] = [
title: "平均得分", title: "平均得分",
key: "score", key: "score",
render: (row) => { render: (row) => {
if (row.score > 0) return row.score if (row.score > 0) return row.score.toFixed(2)
else return "-" else return "-"
}, },
}, },
@@ -159,5 +159,6 @@ onUnmounted(() => {
<style scoped> <style scoped>
.container { .container {
padding: 10px; padding: 10px;
box-sizing: border-box;
} }
</style> </style>