This commit is contained in:
2024-01-18 13:40:42 +08:00
parent 97b143b526
commit d2e98387d7
2 changed files with 25 additions and 48 deletions

View File

@@ -90,6 +90,11 @@ const Login = (props: LoginProps) => {
</Button> </Button>
</FormItem> </FormItem>
<FormItem>
<Button className="login-form-button" style={{ width: '100%' }}>
</Button>
</FormItem>
</Form> </Form>
</div> </div>
</div> </div>

View File

@@ -163,54 +163,26 @@ const menus: {
icon: 'bars', icon: 'bars',
component: 'PredictInfo', 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', // key: '/app/manage',
// title: '访客模式', // title: '管理',
// component: 'Visitor', // icon: 'bars',
// login: true, // showAuth: 'auth/admin',
// subs: [
// {
// key: '/app/manage/user',
// title: '用户管理',
// component: 'UserManage',
// requireAuth: 'auth/admin',
// }, // },
// { // {
// key: '/app/extension/multiple', // key: '/app/manage/station',
// title: '多级菜单', // title: '车站信息管理',
// subs: [ // component: 'StationManage',
// { // requireAuth: 'auth/admin',
// 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/user', key: '/app/user',
title: '用户', title: '用户',