Browse Source

feat: improve check updates (#6257)

Co-authored-by: monkey <maotao@tutamail.com>
pull/6269/head
yingzi2019 9 months ago
committed by GitHub
parent
commit
48d70182b4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      packages/effects/layouts/src/widgets/check-updates/check-updates.vue

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

Loading…
Cancel
Save