线上课加入选修必修字段

This commit is contained in:
禺狨
2023-03-20 16:02:23 +08:00
parent 6baafcb579
commit 5e187d248f
10 changed files with 44 additions and 478 deletions

View File

@@ -107,6 +107,13 @@ export const CoursePage = () => {
</div>
),
},
{
title: "类别",
dataIndex: "isRequired",
render: (isRequired: number) => (
<span>{isRequired === 1 ? "必修课" : "选修课"}</span>
),
},
{
title: "是否显示",
dataIndex: "is_show",