|
|
|
@ -1,6 +1,13 @@ |
|
|
|
|
<template> |
|
|
|
|
<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"/> |
|
|
|
|
</el-menu> |
|
|
|
|
</div> |
|
|
|
|