mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-21 16:08:58 +08:00
@@ -42,7 +42,9 @@ const hasChildren = computed(() => {
|
||||
:icon="menu.icon"
|
||||
:path="menu.path"
|
||||
>
|
||||
<template #title>{{ menu.name }}</template>
|
||||
<template #title>
|
||||
<span>{{ menu.name }}</span>
|
||||
</template>
|
||||
</MenuItem>
|
||||
<SubMenuComp
|
||||
v-else
|
||||
@@ -59,7 +61,9 @@ const hasChildren = computed(() => {
|
||||
class="right-6"
|
||||
/>
|
||||
</template>
|
||||
<template #title>{{ menu.name }}</template>
|
||||
<template #title>
|
||||
<span>{{ menu.name }}</span>
|
||||
</template>
|
||||
<template v-for="childItem in menu.children || []" :key="childItem.path">
|
||||
<SubMenu :menu="childItem" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user