From 25da728efe4236647b376ff667c99e6e774ef8d1 Mon Sep 17 00:00:00 2001 From: none Date: Tue, 28 Mar 2023 10:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/init/index.tsx | 2 +- src/store/system/systemConfigSlice.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/pages/init/index.tsx b/src/pages/init/index.tsx index e00ac95..6668e2f 100644 --- a/src/pages/init/index.tsx +++ b/src/pages/init/index.tsx @@ -1,6 +1,6 @@ import { useDispatch } from "react-redux"; import { Outlet } from "react-router-dom"; -import styles from "./index.module.scss"; +// import styles from "./index.module.scss"; import { saveConfigAction } from "../../store/system/systemConfigSlice"; import { Header, NoHeader, Footer } from "../../compenents"; import { useLocation } from "react-router-dom"; diff --git a/src/store/system/systemConfigSlice.ts b/src/store/system/systemConfigSlice.ts index eab6dfe..f18676b 100644 --- a/src/store/system/systemConfigSlice.ts +++ b/src/store/system/systemConfigSlice.ts @@ -6,6 +6,12 @@ type SystemConfigStoreInterface = { systemH5Url: string; systemLogo: string; systemName: string; + pcIndexFooterMsg: string; + playerPoster: string; + playerIsEnabledBulletSecret: string; + playerBulletSecretText: string; + playerBulletSecretColor: string; + playerBulletSecretOpacity: string; }; let defaultValue: SystemConfigStoreInterface = { @@ -14,6 +20,12 @@ let defaultValue: SystemConfigStoreInterface = { systemH5Url: "", systemLogo: "", systemName: "", + pcIndexFooterMsg: "", + playerPoster: "", + playerIsEnabledBulletSecret: "", + playerBulletSecretText: "", + playerBulletSecretColor: "", + playerBulletSecretOpacity: "", }; const systemConfigSlice = createSlice({