We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31587ae commit 3c45a08Copy full SHA for 3c45a08
src/components/base/TreeMenu.vue
@@ -8,13 +8,13 @@ defineProps<{
8
<template v-for="menu in menus" :key="menu.path">
9
<el-sub-menu v-if="menu.children && menu.children.length > 0" :index="menu.path">
10
<template #title>
11
- <div class="mr-10" :class="menu.meta.icon" />
+ <div class="mr-10 box-border min-w-24" :class="menu.meta.icon" />
12
<span>{{ menu.meta.title }}</span>
13
</template>
14
<TreeMenu :menus="menu.children" />
15
</el-sub-menu>
16
<el-menu-item v-else :index="menu.path">
17
18
19
{{ menu.meta.title }}
20
0 commit comments