diff --git a/src/App.js b/src/App.js
index 8675a955..e93931c9 100644
--- a/src/App.js
+++ b/src/App.js
@@ -123,9 +123,21 @@ const AboutUs = Loadable({
loading: Loading,
})
-const Teaching = Loadable({
- loader : () => import("./forge/TeachingPractice/Teaching"),
- loading: Loading,
+// const Teaching = Loadable({
+// loader : () => import("./forge/TeachingPractice/Teaching"),
+// loading: Loading,
+// });
+
+// 首页
+const HomePage = Loadable({
+ loader: () => import('./home'),
+ loading: Loading,
+});
+
+// 管理页面
+const Managements = Loadable({
+ loader: () => import('./military/managements'),
+ loading: Loading,
})
// const CreateMerge = Loadable({
// loader: () => import('./forge/Merge/NewMerge'),
@@ -386,6 +398,11 @@ class App extends Component {
path="/register"
render={(props) =>}
>
+ {/*管理页面*/}
+
+
+ {/*403*/}
+
{/* 忘记密码 */}
{/* 教学实践 */}
- }
- >
+ > */}
{/* 组织 */}
{
const [current,setCurrent]=useState(JSON.parse(sessionStorage.adminRouter||'[]'));
+ const [title,setTitle]=useState('');
+
function handleClick (e){
+ console.log(e)
setCurrent([e.key]);
+ setTitle(e.item.props.title);
sessionStorage.setItem( 'adminRouter',JSON.stringify([e.key]));
};
const projectMenu = useMemo(() => {
return
});
@@ -35,109 +39,98 @@ export default props => {
应征投稿协议内容
- 延期任务处理
- {/* 协议签订凭证上传 */}
- 支付报酬凭证上传
+ 延期任务处理
+ 支付报酬凭证上传
- 创客任务列表
+ 创客任务列表
});
const competitionMenu = useMemo(() => {
- return