temp
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -163,54 +163,26 @@ const menus: {
|
|||||||
icon: 'bars',
|
icon: 'bars',
|
||||||
component: 'PredictInfo',
|
component: 'PredictInfo',
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
key: '/app/manage',
|
// key: '/app/manage',
|
||||||
title: '管理',
|
// title: '管理',
|
||||||
icon: 'bars',
|
// icon: 'bars',
|
||||||
showAuth: 'auth/admin',
|
// showAuth: 'auth/admin',
|
||||||
subs: [
|
// subs: [
|
||||||
{
|
// {
|
||||||
key: '/app/manage/user',
|
// key: '/app/manage/user',
|
||||||
title: '用户管理',
|
// title: '用户管理',
|
||||||
component: 'UserManage',
|
// component: 'UserManage',
|
||||||
requireAuth: 'auth/admin',
|
// requireAuth: 'auth/admin',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
key: '/app/manage/station',
|
// key: '/app/manage/station',
|
||||||
title: '车站信息管理',
|
// title: '车站信息管理',
|
||||||
component: 'StationManage',
|
// component: 'StationManage',
|
||||||
requireAuth: 'auth/admin',
|
// 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/user',
|
key: '/app/user',
|
||||||
title: '用户',
|
title: '用户',
|
||||||
|
|||||||
Reference in New Issue
Block a user