diff --git a/src/components/pages/Login.tsx b/src/components/pages/Login.tsx index ec0f0f7..e1c5f57 100644 --- a/src/components/pages/Login.tsx +++ b/src/components/pages/Login.tsx @@ -90,6 +90,11 @@ const Login = (props: LoginProps) => { 登录 + + + diff --git a/src/routes/config.ts b/src/routes/config.ts index c338729..ddd9a7c 100644 --- a/src/routes/config.ts +++ b/src/routes/config.ts @@ -163,54 +163,26 @@ const menus: { icon: 'bars', component: 'PredictInfo', }, - { - key: '/app/manage', - title: '管理', - icon: 'bars', - showAuth: 'auth/admin', - subs: [ - { - key: '/app/manage/user', - title: '用户管理', - component: 'UserManage', - requireAuth: 'auth/admin', - }, - { - key: '/app/manage/station', - title: '车站信息管理', - component: 'StationManage', - requireAuth: 'auth/admin', - }, - // { - // key: '/app/extension/visitor', - // title: '访客模式', - // component: 'Visitor', - // login: true, - // }, - // { - // key: '/app/extension/multiple', - // title: '多级菜单', - // subs: [ - // { - // key: '/app/extension/multiple/child', - // title: '多级菜单子菜单', - // subs: [ - // { - // key: '/app/extension/multiple/child/child', - // title: '多级菜单子子菜单', - // component: 'MultipleMenu', - // }, - // ], - // }, - // ], - // }, - // { - // key: '/app/extension/env', - // title: '环境配置', - // component: 'Env', - // }, - ], - }, + // { + // key: '/app/manage', + // title: '管理', + // icon: 'bars', + // showAuth: 'auth/admin', + // subs: [ + // { + // key: '/app/manage/user', + // title: '用户管理', + // component: 'UserManage', + // requireAuth: 'auth/admin', + // }, + // { + // key: '/app/manage/station', + // title: '车站信息管理', + // component: 'StationManage', + // requireAuth: 'auth/admin', + // }, + // ], + // }, { key: '/app/user', title: '用户',