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'