线上课操作按钮优化

This commit is contained in:
禺狨 2023-03-22 11:22:42 +08:00
parent e182d75a69
commit 4be966dc61

View File

@ -178,49 +178,48 @@ export const CoursePage = () => {
{
key: "1",
label: (
<PerButton
type="link"
text="课时"
class="b-link c-red"
icon={null}
p="course"
onClick={() => {
setCid(Number(record.id));
setHourUpdateVisible(true);
}}
disabled={null}
/>
<Space size="small" style={{ width: 60 }}>
<Button
type="link"
size="small"
className="b-link c-red"
onClick={() => {
setCid(Number(record.id));
setHourUpdateVisible(true);
}}
>
</Button>
</Space>
),
},
{
key: "2",
label: (
<PerButton
<Button
type="link"
text="编辑"
class="b-link c-red"
icon={null}
p="course"
size="small"
className="b-link c-red"
onClick={() => {
setCid(Number(record.id));
setUpdateVisible(true);
}}
disabled={null}
/>
>
</Button>
),
},
{
key: "3",
label: (
<PerButton
<Button
type="link"
text="删除"
class="b-link c-red"
icon={null}
p="course"
size="small"
className="b-link c-red"
onClick={() => delItem(record.id)}
disabled={null}
/>
>
</Button>
),
},
];