解决前端页面改变浏览器窗口大小后,菜单展开按钮失效,无法展开菜单,无法操作 #1913

This commit is contained in:
zhangdaiscott 2020-10-30 16:36:02 +08:00
parent 32202ce3df
commit 148e44f9d0
1 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
>
<side-menu
mode="inline"
v-if="device === 'mobile'"
:menus="menus"
@menuSelect="menuSelect"
:theme="navTheme"
@ -21,7 +22,7 @@
</a-drawer>
<side-menu
v-else
v-show="device === 'desktop'"
mode="inline"
:menus="menus"
@menuSelect="myMenuSelect"
@ -679,4 +680,4 @@
}
}
}
</style>
</style>