mirror of
https://github.com/PlayEdu/backend
synced 2025-07-17 16:37:33 +08:00
线上课操作按钮优化
This commit is contained in:
parent
e182d75a69
commit
4be966dc61
@ -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>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user