Skip to content

Commit

Permalink
Check submenu trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
hujiayucc committed Oct 12, 2024
1 parent 51121d3 commit 5cb88f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ export default {
<mdui-button-icon class="menu-button" icon="menu" @click="menuButton"></mdui-button-icon>
<mdui-top-app-bar-title>{{ appBarTitle }}</mdui-top-app-bar-title>

<mdui-dropdown v-if="!displayIconButton" trigger="hover" @close="onCheckTheme()">
<mdui-dropdown v-if="!displayIconButton" trigger="hover" @close="onCheckTheme()" stay-open-on-click>
<mdui-button-icon icon="more_vert" slot="trigger"></mdui-button-icon>
<mdui-menu class="more_vert">
<mdui-menu class="more_vert" submenu-trigger="hover click">
<mdui-menu-item>
{{ $t('menu.submenu.language') }}
<mdui-menu-item slot="submenu" value="zh" @click="changeLanguage('zh')">简体中文</mdui-menu-item>
Expand Down

0 comments on commit 5cb88f7

Please sign in to comment.