fix
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user