From dde76c1123e008b8ef3ba6fdc89c92ba785f89dc Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 30 May 2023 14:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Information/Component/publicBanner.jsx | 4 +++- src/forge/Information/index.jsx | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index 5c0735922..3f93e9e5d 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -13,7 +13,8 @@ import { Link } from 'react-router-dom'; function PublicBanner(props){ const [ key , setKey ] = useState("1"); const { pathname } = props.history.location; - const { data } = props; + const { data , adminUrl } = props; + useEffect(()=>{ if(pathname){ @@ -54,6 +55,7 @@ function PublicBanner(props){