This commit is contained in:
dap
2025-05-25 11:48:58 +08:00
24 changed files with 357 additions and 66 deletions

View File

@@ -234,6 +234,7 @@ const headerSlots = computed(() => {
<template #logo>
<VbenLogo
v-if="preferences.logo.enable"
:fit="preferences.logo.fit"
:class="logoClass"
:collapsed="logoCollapsed"
:src="preferences.logo.source"
@@ -324,6 +325,7 @@ const headerSlots = computed(() => {
<template #side-extra-title>
<VbenLogo
v-if="preferences.logo.enable"
:fit="preferences.logo.fit"
:text="preferences.app.name"
:theme="theme"
>

View File

@@ -4,7 +4,7 @@ import { useVbenModal } from '@vben-core/popup-ui';
import { onMounted, onUnmounted, ref } from 'vue';
interface Props {
// 轮时间,分钟
// 轮时间,分钟
checkUpdatesInterval?: number;
// 检查更新的地址
checkUpdateUrl?: string;
@@ -44,6 +44,7 @@ async function getVersionTag() {
const response = await fetch(props.checkUpdateUrl, {
cache: 'no-cache',
method: 'HEAD',
redirect: 'manual',
});
return (