mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-17 21:17:27 +08:00
系统配置
This commit is contained in:
parent
2e8379f46c
commit
25da728efe
@ -1,6 +1,6 @@
|
|||||||
import { useDispatch } from "react-redux";
|
import { useDispatch } from "react-redux";
|
||||||
import { Outlet } from "react-router-dom";
|
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 { saveConfigAction } from "../../store/system/systemConfigSlice";
|
||||||
import { Header, NoHeader, Footer } from "../../compenents";
|
import { Header, NoHeader, Footer } from "../../compenents";
|
||||||
import { useLocation } from "react-router-dom";
|
import { useLocation } from "react-router-dom";
|
||||||
|
@ -6,6 +6,12 @@ type SystemConfigStoreInterface = {
|
|||||||
systemH5Url: string;
|
systemH5Url: string;
|
||||||
systemLogo: string;
|
systemLogo: string;
|
||||||
systemName: string;
|
systemName: string;
|
||||||
|
pcIndexFooterMsg: string;
|
||||||
|
playerPoster: string;
|
||||||
|
playerIsEnabledBulletSecret: string;
|
||||||
|
playerBulletSecretText: string;
|
||||||
|
playerBulletSecretColor: string;
|
||||||
|
playerBulletSecretOpacity: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
let defaultValue: SystemConfigStoreInterface = {
|
let defaultValue: SystemConfigStoreInterface = {
|
||||||
@ -14,6 +20,12 @@ let defaultValue: SystemConfigStoreInterface = {
|
|||||||
systemH5Url: "",
|
systemH5Url: "",
|
||||||
systemLogo: "",
|
systemLogo: "",
|
||||||
systemName: "",
|
systemName: "",
|
||||||
|
pcIndexFooterMsg: "",
|
||||||
|
playerPoster: "",
|
||||||
|
playerIsEnabledBulletSecret: "",
|
||||||
|
playerBulletSecretText: "",
|
||||||
|
playerBulletSecretColor: "",
|
||||||
|
playerBulletSecretOpacity: "",
|
||||||
};
|
};
|
||||||
|
|
||||||
const systemConfigSlice = createSlice({
|
const systemConfigSlice = createSlice({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user