配置导航栏相关

mobile
wangchenguang 2 years ago
parent 255b23de7d
commit 9c69134755
  1. 9
      src/layouts/navbar/index.vue

@ -1,6 +1,13 @@
<template> <template>
<div> <div>
<el-menu :class="['nav', {home: isHome}]" ref="elMenu" :key="menuRefresh" mode="horizontal" :background-color="bgColor" :text-color="textColor" :active-text-color="activeTextColor" @open="jump" @select="jump" :default-active="String(active)"> <el-menu :class="['nav', {home: isHome}]" ref="elMenu"
:mode="$store.getters.getModelType ? 'horizontal' : 'vertical' "
:key="menuRefresh"
mode="horizontal"
:background-color="bgColor"
:text-color="textColor"
:active-text-color="activeTextColor"
@open="jump" @select="jump" :default-active="String(active)">
<menuTree :menuList="menus"/> <menuTree :menuList="menus"/>
</el-menu> </el-menu>
</div> </div>

Loading…
Cancel
Save