Commit cb4f9a87 by haojie

限制直播中的任务删除操作

parent da4bf505
...@@ -145,6 +145,10 @@ const onEdit = (item: any) => { ...@@ -145,6 +145,10 @@ const onEdit = (item: any) => {
}; };
const onDelete = (item: any) => { const onDelete = (item: any) => {
if (item.is_live) {
show_message('直播中的禁止删除');
return;
}
confirmId.value = item.id; confirmId.value = item.id;
// 打开确认弹窗 // 打开确认弹窗
confirmVisible.value = true; confirmVisible.value = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment