Skip to content

Commit 191f8b8

Browse files
committed
fixed superAdmin router circle
1 parent ec43b8f commit 191f8b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/router/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ const router = createRouter({
4343
path: '/manage',
4444
name: 'manage',
4545
component: () => import('@/views/manage/index.vue'),
46-
meta: { role: ['超市管理员'] },
46+
meta: { role: ['超市管理员', '超级管理员'] },
4747
},
4848
{
4949
path: '/order',
5050
name: 'order',
5151
component: () => import('@/views/order/index.vue'),
52-
meta: { role: ['超市管理员'] },
52+
meta: { role: ['超市管理员', '超级管理员'] },
5353
},
5454
{
5555
path: '/record',
5656
name: 'record',
5757
component: () => import('@/views/record/index.vue'),
58-
meta: { role: ['超市管理员'] },
58+
meta: { role: ['超市管理员', '超级管理员'] },
5959
},
6060
{
6161
path: '/framework',

0 commit comments

Comments
 (0)