mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: type error
This commit is contained in:
parent
1234096678
commit
4ddc491224
|
|
@ -29,7 +29,7 @@
|
|||
>
|
||||
<template #title>
|
||||
<AppIcon v-if="menu.meta && menu.meta.icon" :iconName="menuIcon" class="sidebar-icon" />
|
||||
<span v-if="menu.meta && menu.meta.title">{{ $t(menu.meta.title) }}</span>
|
||||
<span v-if="menu.meta && menu.meta.title">{{ $t(menu.meta?.title as string) }}</span>
|
||||
</template>
|
||||
</el-menu-item>
|
||||
</div>
|
||||
|
|
@ -50,8 +50,6 @@ const {
|
|||
params: { id, type }
|
||||
} = route as any
|
||||
|
||||
|
||||
|
||||
function showMenu() {
|
||||
if (isWorkFlow(type)) {
|
||||
return props.menu.name !== 'AppHitTest'
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<AppIcon :iconName="menu.meta ? (menu.meta.icon as string) : '404'" />
|
||||
</div> -->
|
||||
<div class="title">
|
||||
{{ $t(menu.meta?.title) }}
|
||||
{{ $t(menu.meta?.title as string) }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue