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

@@ -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 (