fix
This commit is contained in:
@@ -231,7 +231,7 @@ const classColumns: DataTableColumn<ClassRank>[] = [
|
||||
{
|
||||
title: "排名",
|
||||
key: "rank",
|
||||
width: 60,
|
||||
width: 70,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
@@ -240,42 +240,42 @@ const classColumns: DataTableColumn<ClassRank>[] = [
|
||||
key: "class_name",
|
||||
render: (row) =>
|
||||
`${row.class_name.slice(0, 2)}计算机${row.class_name.slice(2)}班`,
|
||||
minWidth: 120,
|
||||
minWidth: 160,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "人数",
|
||||
key: "user_count",
|
||||
width: 60,
|
||||
width: 80,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "总 AC 数",
|
||||
title: "总AC数",
|
||||
key: "total_ac",
|
||||
width: 70,
|
||||
width: 90,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "提交数",
|
||||
key: "total_submission",
|
||||
width: 70,
|
||||
width: 90,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "平均 AC 数",
|
||||
title: "平均AC数",
|
||||
key: "avg_ac",
|
||||
width: 70,
|
||||
width: 100,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
},
|
||||
{
|
||||
title: "正确率",
|
||||
key: "ac_rate",
|
||||
width: 70,
|
||||
width: 90,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
render: (row) => `${row.ac_rate}%`,
|
||||
@@ -283,7 +283,7 @@ const classColumns: DataTableColumn<ClassRank>[] = [
|
||||
{
|
||||
title: "详情",
|
||||
key: "action",
|
||||
width: 60,
|
||||
width: 70,
|
||||
titleAlign: "center",
|
||||
align: "center",
|
||||
render: (row) =>
|
||||
|
||||
Reference in New Issue
Block a user