首页底部一句话显示

This commit is contained in:
none 2023-03-28 10:28:50 +08:00
parent 3065d346ea
commit b0111178f6
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ import iconRoute from "../../assets/images/commen/icon-route.png";
import { studyTimeFormat } from "../../utils/index"; import { studyTimeFormat } from "../../utils/index";
const IndexPage = () => { const IndexPage = () => {
const systemConfig = useSelector((state: any) => state.systemConfig.value);
const [loading, setLoading] = useState<boolean>(false); const [loading, setLoading] = useState<boolean>(false);
const [tabKey, setTabKey] = useState(0); const [tabKey, setTabKey] = useState(0);
const [coursesList, setCoursesList] = useState<any>([]); const [coursesList, setCoursesList] = useState<any>([]);
@ -280,7 +281,7 @@ const IndexPage = () => {
))} ))}
</div> </div>
)} )}
<div className={styles["extra"]}>~~</div> <div className={styles["extra"]}>{systemConfig.pcIndexFooterMsg}</div>
</> </>
); );
}; };

View File

@ -32,7 +32,7 @@ const Init = lazy(async () => {
config.systemLogo = res.data["system-logo"]; config.systemLogo = res.data["system-logo"];
config.systemName = res.data["system-name"]; config.systemName = res.data["system-name"];
config.systemPcUrl = res.data["system-pc-url"]; 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"]; config.playerPoster = res.data["player-poster"];