src/layout/components/Settings/index.vue
@@ -19,6 +19,17 @@ inactive-text="浅色" /> </div> <div class="drawer-item" style="display: flex;justify-content: space-between"> <span>菜单模式</span> <el-switch v-model="$store.state.settings.menuIsHorizontal" style="display: block" :active-color="$store.state.settings.theme" inactive-color="#ccc" active-text="横屏" inactive-text="竖屏" /> </div> <!-- 此三个功能暂时不用--> <!-- <div class="drawer-item">-->