修复菜单触发方式

This commit is contained in:
q4speed 2020-06-03 13:26:53 +08:00
parent a086679e23
commit 366213d2a5
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,7 @@
<div id="menu-bar">
<el-row type="flex">
<el-col :span="8">
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router :default-active='$route.path'
menu-trigger="click">
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router :default-active='$route.path'>
<el-menu-item :index="'/api/home'">
{{ $t("i18n.home") }}
</el-menu-item>