增加用户中心、用户注册登录
This commit is contained in:
@@ -43,7 +43,7 @@ export default [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
/* {
|
||||
path: '/dashboard',
|
||||
name: 'dashboard',
|
||||
icon: 'dashboard',
|
||||
@@ -71,7 +71,7 @@ export default [
|
||||
component: './dashboard/workplace',
|
||||
},
|
||||
],
|
||||
},
|
||||
}, */
|
||||
{
|
||||
name: '故事',
|
||||
icon: 'smile',
|
||||
@@ -89,6 +89,22 @@ export default [
|
||||
component: './story/detail',
|
||||
},
|
||||
{
|
||||
name: '用户中心',
|
||||
icon: 'user',
|
||||
path: '/account',
|
||||
component: './account/center',
|
||||
},
|
||||
{
|
||||
name: '用户设置',
|
||||
icon: 'setting',
|
||||
path: '/account/settings',
|
||||
component: './account/settings',
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
redirect: './account/center',
|
||||
},
|
||||
/* {
|
||||
path: '/',
|
||||
name: 'other',
|
||||
routes: [
|
||||
@@ -229,5 +245,5 @@ export default [
|
||||
path: '/user',
|
||||
},
|
||||
]
|
||||
}
|
||||
} */
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user