首页头部初步

This commit is contained in:
禺狨
2023-03-23 17:43:41 +08:00
parent a3da93be82
commit 872f5baca8
11 changed files with 144 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
.cont-top{
width: 100%;
}

View File

@@ -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>
</>
);
};