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