From f1a2f287bf6fbf5a6327f3c4762910e4ebe17e13 Mon Sep 17 00:00:00 2001 From: huk Date: Tue, 30 Sep 2025 10:04:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(video):=20=E4=BF=AE=E6=94=B9=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E7=A6=81=E6=92=AD=E5=8A=9F=E8=83=BD=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E5=8F=8A=E6=93=8D=E4=BD=9C=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将接口注释从"视频删除"更新为"视频禁播" - 更新前端按钮文字从"删除"改为"禁播"- 修改操作函数名从 handleDelete 改为 handleForbid - 调整确认弹窗提示文字内容 --- src/api/workflow/category/index.ts | 2 +- src/views/contentManage/video/index.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/workflow/category/index.ts b/src/api/workflow/category/index.ts index 58d90af..e64e14c 100644 --- a/src/api/workflow/category/index.ts +++ b/src/api/workflow/category/index.ts @@ -92,7 +92,7 @@ export const deloffline = (data?: string) => { }; /** - * 视频删除 + * 视频禁播 * @param vlogId 视频id */ export const updateaforbid = (vlogId?: string) => { diff --git a/src/views/contentManage/video/index.vue b/src/views/contentManage/video/index.vue index 9e4a1df..1c3f15e 100644 --- a/src/views/contentManage/video/index.vue +++ b/src/views/contentManage/video/index.vue @@ -87,8 +87,8 @@ 查看 - - 删除 + + 禁播 @@ -339,8 +339,8 @@ const submitForm = () => { }; /** 删除按钮操作 */ -const handleDelete = async (row: CategoryVO) => { - ElMessageBox.confirm('是否确认删除', '警告', { +const handleForbid = async (row: CategoryVO) => { + ElMessageBox.confirm('是否确认金币', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning'