update
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-05-25 23:55:16 -06:00
parent e8bc91bd59
commit bf69a355fe
2 changed files with 24 additions and 0 deletions

View File

@@ -79,6 +79,27 @@ const columns: DataTableColumn<AdminProblemFiltered>[] = [
row.tags.map((t) => h(NTag, { key: t, size: "small" }, () => t)),
),
},
{
title: "AST",
key: "has_ast_rules",
width: 60,
render: (row) =>
row.has_ast_rules ? h(NTag, { type: "info", size: "small" }, () => "AST") : null,
},
{
title: "绘图",
key: "allow_flowchart",
width: 60,
render: (row) =>
row.allow_flowchart ? h(NTag, { type: "success", size: "small" }, () => "绘图") : null,
},
{
title: "流程",
key: "show_flowchart",
width: 60,
render: (row) =>
row.show_flowchart ? h(NTag, { type: "warning", size: "small" }, () => "流程图") : null,
},
{ title: "出题人", key: "username", width: 120 },
{
title: "创建时间",