release(custom): i

This commit is contained in:
2023-10-10 15:01:00 +08:00
parent a9707c6d94
commit 5b33290de6
78 changed files with 13003 additions and 5230 deletions

View File

@@ -1,7 +1,9 @@
<template>
<router-view v-slot="{ Component, route }">
<KeepAlive :include="keepAliveNames">
<component :is="Component" v-if="!tagStore.reloading" :key="route.fullPath" />
<div h-full w-full>
<component :is="Component" v-if="!tagStore.reloading" :key="route.fullPath" />
</div>
</KeepAlive>
</router-view>
</template>

View File

@@ -89,11 +89,11 @@ function getMenuItem(route, basePath = '') {
function getIcon(meta) {
if (meta?.customIcon) return renderCustomIcon(meta.customIcon, { size: 18 })
if (meta?.icon) return renderIcon(meta.icon, { size: 18 })
if (meta?.icon !== '无' && meta?.icon) return renderIcon(meta.icon, { size: 18 })
return null
}
function handleMenuSelect(key, item) {
function handleMenuSelect(_, item) {
if (isExternal(item.path)) {
window.open(item.path)
} else {