diff --git a/packages/effects/layouts/src/widgets/check-updates/check-updates.vue b/packages/effects/layouts/src/widgets/check-updates/check-updates.vue index 661604d8..4f3082f3 100644 --- a/packages/effects/layouts/src/widgets/check-updates/check-updates.vue +++ b/packages/effects/layouts/src/widgets/check-updates/check-updates.vue @@ -6,7 +6,7 @@ import { $t } from '@vben/locales'; import { useVbenModal } from '@vben-core/popup-ui'; interface Props { - // 轮训时间,分钟 + // 轮询时间,分钟 checkUpdatesInterval?: number; // 检查更新的地址 checkUpdateUrl?: string; @@ -46,6 +46,7 @@ async function getVersionTag() { const response = await fetch(props.checkUpdateUrl, { cache: 'no-cache', method: 'HEAD', + redirect: 'manual', }); return (