From c532d06de7c8a9f4558443c8ac169ac904601884 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 16 Nov 2021 15:44:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/permission.json | 2 +- .../src/business/components/settings/plugin/PluginConfig.vue | 2 +- frontend/src/business/components/settings/router.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/resources/permission.json b/backend/src/main/resources/permission.json index ac031f9b61..a51db7f61f 100644 --- a/backend/src/main/resources/permission.json +++ b/backend/src/main/resources/permission.json @@ -810,7 +810,7 @@ "resourceId": "SYSTEM_PLUGIN" }, { - "id": "SYSTEM_PLUGIN:VIEW", + "id": "SYSTEM_PLUGIN:READ", "name": "查看脚本", "resourceId": "SYSTEM_PLUGIN" } diff --git a/frontend/src/business/components/settings/plugin/PluginConfig.vue b/frontend/src/business/components/settings/plugin/PluginConfig.vue index 5d905d26f5..d24dc9cfc6 100644 --- a/frontend/src/business/components/settings/plugin/PluginConfig.vue +++ b/frontend/src/business/components/settings/plugin/PluginConfig.vue @@ -50,7 +50,7 @@ + @exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:READ']"/> diff --git a/frontend/src/business/components/settings/router.js b/frontend/src/business/components/settings/router.js index da66f4e489..7998457e2e 100644 --- a/frontend/src/business/components/settings/router.js +++ b/frontend/src/business/components/settings/router.js @@ -110,7 +110,7 @@ export default { { path: 'plugin', component: () => import('@/business/components/settings/plugin/PluginConfig'), - meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_USER:READ']} + meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_PLUGIN:READ']} }, ] };