访问不存在的文章链接重定向url
This commit is contained in:
parent
9452296dea
commit
b9efd5e6ce
|
|
@ -48,6 +48,7 @@ function NewsDetail(props){
|
|||
setIsSpin(false)
|
||||
}
|
||||
}).catch(error=>{
|
||||
props.history.push(`/zone/${deptId}/news`);
|
||||
setIsSpin(false)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue