mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 04:59:48 +08:00
修复样式bug,修改菜单触发方式
This commit is contained in:
parent
cecebc6fb9
commit
9bedb960fb
@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router
|
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router
|
||||||
:default-active='$route.path'
|
:default-active='$route.path'>
|
||||||
menu-trigger="click">
|
|
||||||
<el-menu-item index="/setting/personsetting">
|
<el-menu-item index="/setting/personsetting">
|
||||||
{{ $t("i18n.home") }}
|
{{ $t("i18n.home") }}
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-menu mode="horizontal" menu-trigger="click"
|
<el-menu mode="horizontal" menu-trigger="click"
|
||||||
background-color="rgb(44, 42, 72)"
|
background-color="#2c2a48"
|
||||||
class="header-top-menus"
|
class="header-top-menus"
|
||||||
text-color="#F2F2F2"
|
text-color="#F2F2F2"
|
||||||
active-text-color="#fff"
|
active-text-color="#fff"
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
<el-row type="flex" justify="end">
|
<el-row type="flex" justify="end">
|
||||||
<el-col :span="21">
|
<el-col :span="21">
|
||||||
<el-menu :unique-opened="true" mode="horizontal" router
|
<el-menu :unique-opened="true" mode="horizontal" router
|
||||||
menu-trigger="click"
|
|
||||||
class="header-user-menu align-right"
|
class="header-user-menu align-right"
|
||||||
background-color="rgb(44, 42, 72)"
|
background-color="#2c2a48"
|
||||||
text-color="#fff">
|
text-color="#fff">
|
||||||
<el-submenu index="1" popper-class="submenu" v-permission="['org_admin']">
|
<el-submenu index="1" popper-class="submenu" v-permission="['org_admin']">
|
||||||
<template slot="title">【组织】{{currentOrganizationName}}</template>
|
<template slot="title">【组织】{{currentOrganizationName}}</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user