fix(video): 修改视频禁播功能描述及操作逻辑

- 将接口注释从"视频删除"更新为"视频禁播"
- 更新前端按钮文字从"删除"改为"禁播"- 修改操作函数名从 handleDelete 改为 handleForbid
- 调整确认弹窗提示文字内容
This commit is contained in:
huk 2025-09-30 10:04:33 +08:00
parent 4e084e301b
commit f1a2f287bf
2 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ export const deloffline = (data?: string) => {
}; };
/** /**
* *
* @param vlogId id * @param vlogId id
*/ */
export const updateaforbid = (vlogId?: string) => { export const updateaforbid = (vlogId?: string) => {

View File

@ -87,8 +87,8 @@
<el-tooltip content="查看" placement="top"> <el-tooltip content="查看" placement="top">
<el-button link type="primary" @click="handleAdd(scope.row)" v-hasPermi="['workflow:video:add']">查看</el-button> <el-button link type="primary" @click="handleAdd(scope.row)" v-hasPermi="['workflow:video:add']">查看</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip content="删除" placement="top"> <el-tooltip content="禁播" placement="top">
<el-button link type="primary" @click="handleDelete(scope.row)" v-hasPermi="['workflow:video:remove']">删除</el-button> <el-button link type="primary" @click="handleForbid(scope.row)" v-hasPermi="['workflow:video:remove']">禁播</el-button>
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
@ -339,8 +339,8 @@ const submitForm = () => {
}; };
/** 删除按钮操作 */ /** 删除按钮操作 */
const handleDelete = async (row: CategoryVO) => { const handleForbid = async (row: CategoryVO) => {
ElMessageBox.confirm('是否确认删除', '警告', { ElMessageBox.confirm('是否确认金币', '警告', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'