From 19520d076777a22f76477c4b29e1a6e7a3891196 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期二, 10 六月 2025 11:48:32 +0800
Subject: [PATCH] 修改方案字段以及接口上传
---
src/layout/components/Sidebar/index.vue | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index be695d1..4d40e28 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -4,14 +4,12 @@
<el-scrollbar wrap-class="scrollbar-wrapper">
<el-menu
:default-active="activeMenu"
- :collapse="true"
:background-color="getMenuBackground"
:text-color="getMenuTextColor"
:unique-opened="true"
:active-text-color="theme"
- :collapse-transition="false"
+ :collapse="false"
mode="vertical"
- :class="sideTheme"
>
<sidebar-item
v-for="(route, index) in sidebarRouters"
@@ -41,7 +39,6 @@
const showLogo = computed(() => settingsStore.sidebarLogo)
const sideTheme = computed(() => settingsStore.sideTheme)
const theme = computed(() => settingsStore.theme)
-const isCollapse = computed(() => !appStore.sidebar.opened)
// 鑾峰彇鑿滃崟鑳屾櫙鑹�
const getMenuBackground = computed(() => {
@@ -80,7 +77,6 @@
border: none;
height: 100%;
width: 100% !important;
-
.el-menu-item, .el-sub-menu__title {
&:hover {
background-color: var(--menu-hover, rgba(0, 0, 0, 0.06)) !important;
--
Gitblit v1.9.3