浏览代码

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'),
         name: 'log',
         meta: {
-          perms: ['GET /admin/admin/log'],
+          perms: ['GET /admin/log/list'],
           title: '操作日志',
           noCache: true
         }
@@ -400,7 +400,7 @@ export const asyncRouterMap = [
         component: () => import('@/views/sys/os'),
         name: 'os',
         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: '对象存储',
           noCache: true
         }