diff --git a/package-lock.json b/package-lock.json
index 29d2d9b..dfde954 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -33,6 +33,7 @@
"classnames": "^2.5.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
+ "dayjs": "^1.11.13",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.3.0",
diff --git a/package.json b/package.json
index 78e550e..04b36b3 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"classnames": "^2.5.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
+ "dayjs": "^1.11.13",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.3.0",
diff --git a/src/App.tsx b/src/App.tsx
index 0d8b651..bc30088 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -3,20 +3,16 @@ import React from "react";
import "./App.scss";
import { Outlet } from "react-router";
import { Layout } from "antd";
-import { default as AppHeader} from "./components/Header";
-import { default as AppFooter} from "./components/Footer";
+import { default as AppHeader } from "./components/Header";
+import { default as AppFooter } from "./components/Footer";
import SideMenu from "./components/SideMenu";
const { Header, Footer, Sider, Content } = Layout;
function App() {
const headerStyle: React.CSSProperties = {
- textAlign: "center",
- color: "#fff",
height: 64,
- paddingInline: 48,
- lineHeight: "64px",
- backgroundColor: "#4096ff",
+ padding: 0,
};
const contentStyle: React.CSSProperties = {
@@ -28,9 +24,8 @@ function App() {
};
const footerStyle: React.CSSProperties = {
- textAlign: "center",
- color: "#fff",
- backgroundColor: "#4096ff",
+ height: 64,
+ padding: 0,
};
const layoutStyle = {
@@ -44,14 +39,14 @@ function App() {
北京强研飞拓科技有限公司
+Admin
+