From 3b785e5841f02442875b6f18c4f69a61e574697f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Fri, 2 Feb 2024 08:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=93=E5=8C=BA=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E8=AF=A6=E6=83=85=E9=A1=B5canonical?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Pages/newsDetail.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/forge/Information/Pages/newsDetail.jsx b/src/forge/Information/Pages/newsDetail.jsx index 2e52902c5..8c91d33fa 100644 --- a/src/forge/Information/Pages/newsDetail.jsx +++ b/src/forge/Information/Pages/newsDetail.jsx @@ -71,11 +71,11 @@ function NewsDetail(props){ document.title= zonedetail.name; setSeoMeta(`${zonedetail.name},`, zonedetail.name, zonedetail.subTitle, `/zone/${deptId}`) } else { - const { name, cmsDir, summary} = detail; + const { name, cmsDir, summary, id} = detail; const title = `${ name }/${ cmsDir.name }`; const keywords = `${ name },${ cmsDir.name },${ zonedetail.name }`; document.title = title; - setSeoMeta(keywords, title, summary, `/zone/${deptId}`) + setSeoMeta(keywords, title, summary, `/zone/${deptId}/newdetail/${ id }`) } }