|
|
@ -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> |
|
|
|