+
-
+
+
-
diff --git a/src/router/index.ts b/src/router/index.ts
index 37cd2cf..d63f4de 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -43,11 +43,6 @@ export const constantRoutes: RouteRecordRaw[] = [
path: '/404',
component: () => import('@/views/error-page/404.vue'),
meta: { hidden: true }
- },
- {
- path: '/apidoc',
- component: () => import('@/views/demo/apidoc.vue'),
- meta: { hidden: true }
}
]
}
diff --git a/src/store/modules/permission.ts b/src/store/modules/permission.ts
index 68dd4b1..906d6ce 100644
--- a/src/store/modules/permission.ts
+++ b/src/store/modules/permission.ts
@@ -46,6 +46,7 @@ const filterAsyncRoutes = (routes: RouteRecordRaw[], roles: string[]) => {
if (hasPermission(roles, tmpRoute)) {
if (tmpRoute.component?.toString() == 'Layout') {
tmpRoute.component = Layout;
+ console.log();
} else {
const component = modules[`../../views/${tmpRoute.component}.vue`];
if (component) {
diff --git a/src/styles/index.scss b/src/styles/index.scss
index a85fa67..7b45efc 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -20,7 +20,7 @@ html.dark{
--menuBg:var(--el-bg-color-overlay);
--menuText:var(----el-menu-text-color);
--menuActiveText:var(--el-menu-active-color);
- --subMenuHover: rgba(0,0,0,.3);
+ --menuHover:rgba(0,0,0,.2);
--subMenuBg: var(--el-menu-bg-color);
--subMenuActiveText:var(--el-menu-active-color);
diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss
index 6499734..45e8409 100644
--- a/src/styles/sidebar.scss
+++ b/src/styles/sidebar.scss
@@ -63,7 +63,6 @@
}
// menu hover
- .submenu-title-noDropdown,
.el-sub-menu__title {
&:hover {
background-color: $menuHover !important;
@@ -98,23 +97,6 @@
margin-left: 54px;
}
- .submenu-title-noDropdown {
- padding: 0 !important;
- position: relative;
-
- .el-tooltip {
- padding: 0 !important;
-
- .svg-icon {
- margin-left: 20px;
- }
-
- .sub-el-icon {
- margin-left: 19px;
- }
- }
- }
-
.el-sub-menu {
overflow: hidden;
--
GitLab