From b0111178f675679b62d5226bb01a66d8ab6f1ef5 Mon Sep 17 00:00:00 2001 From: none Date: Tue, 28 Mar 2023 10:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BA=95=E9=83=A8=E4=B8=80?= =?UTF-8?q?=E5=8F=A5=E8=AF=9D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.tsx | 3 ++- src/routes/index.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index ca9de95..dc296c4 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -12,6 +12,7 @@ import iconRoute from "../../assets/images/commen/icon-route.png"; import { studyTimeFormat } from "../../utils/index"; const IndexPage = () => { + const systemConfig = useSelector((state: any) => state.systemConfig.value); const [loading, setLoading] = useState(false); const [tabKey, setTabKey] = useState(0); const [coursesList, setCoursesList] = useState([]); @@ -280,7 +281,7 @@ const IndexPage = () => { ))} )} -
~莫道桑榆晚,为霞尚满天~
+
{systemConfig.pcIndexFooterMsg}
); }; diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 96a1bb0..ea55cce 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -32,7 +32,7 @@ const Init = lazy(async () => { config.systemLogo = res.data["system-logo"]; config.systemName = res.data["system-name"]; config.systemPcUrl = res.data["system-pc-url"]; - config.pcIndexFooterMsg = res.data["pc-index-footer-msg"]; + config.pcIndexFooterMsg = res.data["system-pc-index-footer-msg"]; //播放器配置 config.playerPoster = res.data["player-poster"];