mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-23 20:30:18 +08:00
首页头部初步
This commit is contained in:
3
src/pages/init/index.module.scss
Normal file
3
src/pages/init/index.module.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.cont-top{
|
||||
width: 100%;
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
import { useDispatch } from "react-redux";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import styles from "./index.module.scss";
|
||||
import { saveConfigAction } from "../../store/system/systemConfigSlice";
|
||||
import { Header } from "../../compenents";
|
||||
|
||||
interface Props {
|
||||
config: Map<string, string>;
|
||||
@@ -12,7 +14,10 @@ export const InitPage = (props: Props) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Outlet />
|
||||
<div>
|
||||
<Header></Header>
|
||||
<Outlet />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user