fix(contentManage): 修改视频禁播功能逻辑

This commit is contained in:
huk 2025-09-30 10:45:24 +08:00
parent f1a2f287bf
commit cbf3673f34

View File

@ -338,17 +338,18 @@ const submitForm = () => {
});
};
/** 删除按钮操作 */
/** 禁播按钮操作 */
const handleForbid = async (row: CategoryVO) => {
ElMessageBox.confirm('是否确认金币', '警告', {
ElMessageBox.confirm('是否确认禁播', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
const res = await updateaforbid(row.id);
const data: Formaget = { vlogId: row.id, status: 4, reason: '视频禁播' };
const res = await updateaudit(data);
if (res.code == 200) {
ElMessage({
message: '删除成功',
message: '处理成功',
type: 'success'
});
getList();