删除提示

This commit is contained in:
caishi 2023-09-21 16:35:17 +08:00
parent 403cb3ad58
commit b81489ba59
1 changed files with 7 additions and 2 deletions

View File

@ -84,8 +84,13 @@ function SelfList(props){
}else{
delNewsMyList(deleId).then(response=>{
setVisible(false);
props.showNotification("删除成功!");
getNew();
if(status ===1){
props.history.push(`/zone/${deptId}/newdetail/${deleId}`);
props.showNotification("已提交删除申请,待管理员审核通过后改文章将被删除");
}else{
props.showNotification("删除成功!");
getNew();
}
})
}
}