forked from Gitlink/forgeplus-react
This commit is contained in:
parent
ab47066441
commit
e8d37e5f4e
|
|
@ -55,8 +55,10 @@ function NewsDetail(props){
|
||||||
}, [detail])
|
}, [detail])
|
||||||
|
|
||||||
function componentWillUnmount() {
|
function componentWillUnmount() {
|
||||||
document.title= zonedetail.name;
|
if (zonedetail) {
|
||||||
setSeoMeta(`${zonedetail.name},`, zonedetail.name, zonedetail.subTitle, `/zone/${deptId}`)
|
document.title= zonedetail.name;
|
||||||
|
setSeoMeta(`${zonedetail.name},`, zonedetail.name, zonedetail.subTitle, `/zone/${deptId}`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDetails(){
|
function getDetails(){
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,10 @@ function SourceDetail(props){
|
||||||
}, [detail])
|
}, [detail])
|
||||||
|
|
||||||
function componentWillUnmount() {
|
function componentWillUnmount() {
|
||||||
document.title= zonedetail.name;
|
if (zonedetail) {
|
||||||
setSeoMeta(`${zonedetail.name},`, zonedetail.name, zonedetail.subTitle, `/zone/${deptId}`)
|
document.title= zonedetail.name;
|
||||||
|
setSeoMeta(`${zonedetail.name},`, zonedetail.name, zonedetail.subTitle, `/zone/${deptId}`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDetails(){
|
function getDetails(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue