From 68f209272c7181cd5d6dd47b10da787a182c97c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= Date: Thu, 5 May 2022 14:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E6=BA=90=E5=A4=8F?= =?UTF-8?q?=E4=BB=A4=E8=90=A5=E5=B8=AE=E5=8A=A9=E4=B8=AD=E5=BF=83wiki?= =?UTF-8?q?=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/glcc/help/index.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/glcc/help/index.jsx b/src/glcc/help/index.jsx index f135501e..9a9d3aa8 100644 --- a/src/glcc/help/index.jsx +++ b/src/glcc/help/index.jsx @@ -14,9 +14,9 @@ function Help(props) { // 获取仓库wiki列表 useEffect(()=>{ wikiPages({ - owner: locationStatus ? 'GLCC' : 'forgetest2', - repo: locationStatus ? 'glcc2022' : 'wiki1', - projectId: locationStatus ? '1403785' : '546103' + owner: locationStatus ? 'CCF-GLCC' : 'forgetest2', + repo: locationStatus ? 'glcc-help' : 'wiki1', + projectId: locationStatus ? '1403908' : '546103' }).then(res => { if (res && res.message === "200" && Array.isArray(res.data)) { setFileArrInit(res.data); @@ -32,10 +32,10 @@ function Help(props) { // 获取选择wiki详情 useEffect(() => { checkItem.name && getWiki({ - owner: locationStatus ? 'GLCC' : 'forgetest2', - repo: locationStatus ? 'glcc2022' : 'wiki1', + owner: locationStatus ? 'CCF-GLCC' : 'forgetest2', + repo: locationStatus ? 'glcc-help' : 'wiki1', pagename: checkItem.name, - projectId: locationStatus ? '1403785' : '546103' + projectId: locationStatus ? '1403908' : '546103' }).then(res => { if (res && res.message === "200") { setItemDetail(res.data);