|
@@ -15,7 +15,7 @@ export default {
|
|
|
title: '我的帐号',
|
|
title: '我的帐号',
|
|
|
icon: 'el-icon-user',
|
|
icon: 'el-icon-user',
|
|
|
component: Background,
|
|
component: Background,
|
|
|
- meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user'] },
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user', 'tnb_disk'] },
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: '/bg/account/profile',
|
|
path: '/bg/account/profile',
|
|
@@ -23,7 +23,7 @@ export default {
|
|
|
title: '我的资料',
|
|
title: '我的资料',
|
|
|
icon: 'el-icon-user',
|
|
icon: 'el-icon-user',
|
|
|
component: MyProfile,
|
|
component: MyProfile,
|
|
|
- meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user', 'tnb_disk'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/account/record',
|
|
path: '/bg/account/record',
|
|
@@ -31,7 +31,7 @@ export default {
|
|
|
title: '登入记录',
|
|
title: '登入记录',
|
|
|
icon: 'el-icon-user',
|
|
icon: 'el-icon-user',
|
|
|
component: MyRecord,
|
|
component: MyRecord,
|
|
|
- meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user', 'tnb_disk'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bg/account/oauth',
|
|
path: '/bg/account/oauth',
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
title: 'OAuth应用',
|
|
title: 'OAuth应用',
|
|
|
icon: 'el-icon-user',
|
|
icon: 'el-icon-user',
|
|
|
component: MyOAuth,
|
|
component: MyOAuth,
|
|
|
- meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user'] }
|
|
|
|
|
|
|
+ meta: { needAuth: true, roles: ['tnb_admin', 'tnb_user', 'tnb_disk'] }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|