src/layout/components/Settings/index.vue
@@ -26,8 +26,20 @@ style="display: block" :active-color="$store.state.settings.theme" inactive-color="#ccc" active-text="横屏" inactive-text="竖屏" active-text="横向" inactive-text="竖向" /> </div> <div class="drawer-item" style="display: flex;justify-content: space-between"> <span>左侧颜色</span> <el-switch v-model="$store.state.settings.leftBackgroundColorValue" style="display: block" active-color="#304156" :disabled="$store.state.settings.menuIsHorizontal" inactive-color="#ccc" active-text="深色" inactive-text="浅色" /> </div>