From e9dc99526e29734c9cffb8ad7e9fb534868cf779 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 19 May 2021 11:42:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/db/migration/V3__init_data.sql | 2 +- frontend/src/layout/components/Topbar.vue | 4 ++-- frontend/src/permission.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/resources/db/migration/V3__init_data.sql b/backend/src/main/resources/db/migration/V3__init_data.sql index c83182ac1f..5fc8d69862 100644 --- a/backend/src/main/resources/db/migration/V3__init_data.sql +++ b/backend/src/main/resources/db/migration/V3__init_data.sql @@ -47,7 +47,7 @@ INSERT INTO `sys_menu` VALUES (41, 1, 0, 1, '权限管理', 'system-auth', 'syst INSERT INTO `sys_menu` VALUES (42, 1, 0, 1, '插件管理', 'system-plugin', 'system/plugin/index', 15, 'sys-tools', '/plugin', b'0', b'0', b'0', NULL, NULL, NULL, NULL, NULL); INSERT INTO `sys_menu` VALUES (50, 0, 0, 1, '个人信息', 'person-info', 'system/user/privateForm', 999, NULL, '/person-info', b'0', b'0', b'1', NULL, NULL, NULL, NULL, NULL); INSERT INTO `sys_menu` VALUES (51, 0, 0, 1, '重置密码', 'person-pwd-reset', 'system/user/personPwd', 999, NULL, '/person-pwd', b'0', b'0', b'1', NULL, NULL, NULL, NULL, NULL); -INSERT INTO `sys_menu` VALUES (52, 1, 0, 1, '关于', 'about', 'system/about/index', 16, 'system', 'about', b'0', b'0', b'0', NULL, NULL, NULL, NULL, 1620897406691); +INSERT INTO `sys_menu` VALUES (52, 0, 0, 1, '关于', 'about', 'system/about/index', 16, 'system', '/about', b'0', b'0', b'1', NULL, NULL, NULL, NULL, 1620897406691); COMMIT; BEGIN; diff --git a/frontend/src/layout/components/Topbar.vue b/frontend/src/layout/components/Topbar.vue index 888f58ec3e..6401799c43 100644 --- a/frontend/src/layout/components/Topbar.vue +++ b/frontend/src/layout/components/Topbar.vue @@ -49,10 +49,10 @@ {{ $t('user.reset_password') }} - + {{ $t('commons.help_documentation') }} - + {{ $t('commons.about_us') }} diff --git a/frontend/src/permission.js b/frontend/src/permission.js index 05aee4c13a..ba806b831f 100644 --- a/frontend/src/permission.js +++ b/frontend/src/permission.js @@ -152,7 +152,7 @@ const hasPermission = (router, user_permissions) => { } return true } -const xpackMenuNames = ['参数管理', '插件管理'] +const xpackMenuNames = ['system-param', 'system-plugin'] const filterLic = (router) => { if (xpackMenuNames.some(name => name === router.name) && !store.getters.validate) { return false