禁止修改全局布局,以及菜单栏变动

This commit is contained in:
2026-08-23 16:08:48 +08:00
parent 4efb84e5d2
commit 657774e1b1
20 changed files with 34 additions and 1289 deletions
@@ -1,13 +1,13 @@
<template>
<div :class="['sidebar-theme-wrapper', settings.sideTheme]" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper">
<template>
<div :class="['sidebar-theme-wrapper', 'theme-dark']" :style="{ backgroundColor: variables.menuBackground }">
<el-scrollbar class="theme-dark" wrap-class="scrollbar-wrapper">
<el-menu
:default-active="activeMenu"
:collapse="isCollapse"
:background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground"
:text-color="settings.sideTheme === 'theme-dark' ? variables.menuColor : variables.menuLightColor"
:background-color="variables.menuBackground"
:text-color="variables.menuColor"
:unique-opened="true"
:active-text-color="settings.sideTheme === 'theme-dark' ? '#ffffff' : settings.theme"
:active-text-color="'#ffffff'"
:collapse-transition="false"
mode="vertical"
>