diff --git a/acupuncture-前台/src/layout/components/Sidebar/Item.vue b/acupuncture-前台/src/layout/components/Sidebar/Item.vue
index 40137897..1a0708ff 100644
--- a/acupuncture-前台/src/layout/components/Sidebar/Item.vue
+++ b/acupuncture-前台/src/layout/components/Sidebar/Item.vue
@@ -17,23 +17,8 @@ export default {
const { icon, title } = context.props;
const vnodes = [];
- // if (icon) {
- // // vnodes.push();
- // vnodes.push(
);
- // }
-
if (title) {
- console.log("title", title);
-
- if (title.length > 5) {
- vnodes.push(
-
- {title}
-
- );
- } else {
- vnodes.push({title});
- }
+ vnodes.push({title});
}
return vnodes;
diff --git a/acupuncture-前台/src/layout/components/Sidebar/SidebarItem.vue b/acupuncture-前台/src/layout/components/Sidebar/SidebarItem.vue
index 031bf419..0b2c937e 100644
--- a/acupuncture-前台/src/layout/components/Sidebar/SidebarItem.vue
+++ b/acupuncture-前台/src/layout/components/Sidebar/SidebarItem.vue
@@ -146,4 +146,15 @@ export default {
.div-img-gl {
display: none;
}
+.nest-menu .el-menu-item {
+ height: 40px !important;
+ line-height: 40px !important;
+}
+
+#app .sidebar-container .nest-menu .is-active {
+ background-color: #fff !important;
+}
+#app .sidebar-container .nest-menu .is-active:hover {
+ color: #fff !important;
+}