ソースを参照

fix[litemall-admin]: 管理后台的操作日志页面和对象存储页面的操作权限设置错误

Junling Bu 6 年 前
コミット
1ad9bb72d4
1 ファイル変更2 行追加2 行削除
  1. 2 2
      litemall-admin/src/router/index.js

+ 2 - 2
litemall-admin/src/router/index.js

@@ -380,7 +380,7 @@ export const asyncRouterMap = [
         component: () => import('@/views/sys/log'),
         component: () => import('@/views/sys/log'),
         name: 'log',
         name: 'log',
         meta: {
         meta: {
-          perms: ['GET /admin/admin/log'],
+          perms: ['GET /admin/log/list'],
           title: '操作日志',
           title: '操作日志',
           noCache: true
           noCache: true
         }
         }
@@ -400,7 +400,7 @@ export const asyncRouterMap = [
         component: () => import('@/views/sys/os'),
         component: () => import('@/views/sys/os'),
         name: 'os',
         name: 'os',
         meta: {
         meta: {
-          perms: ['GET /admin/os/list', 'POST /admin/os/create', 'POST /admin/os/update', 'POST /admin/os/delete'],
+          perms: ['GET /admin/storage/list', 'POST /admin/storage/create', 'POST /admin/storage/update', 'POST /admin/storage/delete'],
           title: '对象存储',
           title: '对象存储',
           noCache: true
           noCache: true
         }
         }