src/components/TopNav/index.vue
@@ -124,7 +124,6 @@ }, // 菜单选择事件 handleSelect(key, keyPath) { debugger; this.currentIndex = key; const route = this.routers.find(item => item.path === key); if (this.ishttp(key)) { @@ -181,7 +180,7 @@ .topmenu-container.el-menu--horizontal > .el-menu-item.is-active, .el-menu--horizontal > .el-submenu.is-active .el-submenu__title { border-bottom: 2px solid #{'var(--theme)'} !important; color: #303133; color: #000000; } /* submenu item */