mirror of
https://github.com/PlayEdu/backend
synced 2025-07-19 05:09:35 +08:00
线上课操作按钮优化
This commit is contained in:
parent
e182d75a69
commit
4be966dc61
@ -178,49 +178,48 @@ export const CoursePage = () => {
|
|||||||
{
|
{
|
||||||
key: "1",
|
key: "1",
|
||||||
label: (
|
label: (
|
||||||
<PerButton
|
<Space size="small" style={{ width: 60 }}>
|
||||||
type="link"
|
<Button
|
||||||
text="课时"
|
type="link"
|
||||||
class="b-link c-red"
|
size="small"
|
||||||
icon={null}
|
className="b-link c-red"
|
||||||
p="course"
|
onClick={() => {
|
||||||
onClick={() => {
|
setCid(Number(record.id));
|
||||||
setCid(Number(record.id));
|
setHourUpdateVisible(true);
|
||||||
setHourUpdateVisible(true);
|
}}
|
||||||
}}
|
>
|
||||||
disabled={null}
|
课时
|
||||||
/>
|
</Button>
|
||||||
|
</Space>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "2",
|
key: "2",
|
||||||
label: (
|
label: (
|
||||||
<PerButton
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
text="编辑"
|
size="small"
|
||||||
class="b-link c-red"
|
className="b-link c-red"
|
||||||
icon={null}
|
|
||||||
p="course"
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setCid(Number(record.id));
|
setCid(Number(record.id));
|
||||||
setUpdateVisible(true);
|
setUpdateVisible(true);
|
||||||
}}
|
}}
|
||||||
disabled={null}
|
>
|
||||||
/>
|
编辑
|
||||||
|
</Button>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "3",
|
key: "3",
|
||||||
label: (
|
label: (
|
||||||
<PerButton
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
text="删除"
|
size="small"
|
||||||
class="b-link c-red"
|
className="b-link c-red"
|
||||||
icon={null}
|
|
||||||
p="course"
|
|
||||||
onClick={() => delItem(record.id)}
|
onClick={() => delItem(record.id)}
|
||||||
disabled={null}
|
>
|
||||||
/>
|
删除
|
||||||
|
</Button>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user