mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-16 21:33:34 +08:00
系统配置
This commit is contained in:
parent
2e8379f46c
commit
25da728efe
@ -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";
|
||||
|
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user