fix: 删除菜单中目录
This commit is contained in:
parent
7a4488bbcc
commit
e9dc99526e
@ -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;
|
||||
|
||||
@ -49,10 +49,10 @@
|
||||
<router-link to="/person-pwd/index">
|
||||
<el-dropdown-item>{{ $t('user.reset_password') }}</el-dropdown-item>
|
||||
</router-link>
|
||||
<a href="https://panjiachen.github.io/vue-element-admin-site/#/" target="_blank">
|
||||
<a href="/swagger-ui.html" target="_blank">
|
||||
<el-dropdown-item>{{ $t('commons.help_documentation') }} </el-dropdown-item>
|
||||
</a>
|
||||
<router-link to="/system/about">
|
||||
<router-link to="/about/index">
|
||||
<el-dropdown-item>{{ $t('commons.about_us') }}</el-dropdown-item>
|
||||
</router-link>
|
||||
<el-dropdown-item divided @click.native="logout">
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user