forked from Gitlink/forgeplus-react
删除提示
This commit is contained in:
parent
403cb3ad58
commit
b81489ba59
|
|
@ -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();
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue