修复样式bug,修改菜单触发方式

This commit is contained in:
q4speed 2020-03-02 10:51:07 +08:00
parent cecebc6fb9
commit 9bedb960fb
3 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,6 @@
<template>
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router
:default-active='$route.path'
menu-trigger="click">
:default-active='$route.path'>
<el-menu-item index="/setting/personsetting">
{{ $t("i18n.home") }}
</el-menu-item>

View File

@ -1,6 +1,6 @@
<template>
<el-menu mode="horizontal" menu-trigger="click"
background-color="rgb(44, 42, 72)"
background-color="#2c2a48"
class="header-top-menus"
text-color="#F2F2F2"
active-text-color="#fff"

View File

@ -2,9 +2,8 @@
<el-row type="flex" justify="end">
<el-col :span="21">
<el-menu :unique-opened="true" mode="horizontal" router
menu-trigger="click"
class="header-user-menu align-right"
background-color="rgb(44, 42, 72)"
background-color="#2c2a48"
text-color="#fff">
<el-submenu index="1" popper-class="submenu" v-permission="['org_admin']">
<template slot="title">组织{{currentOrganizationName}}</template>