diff --git a/src/utils/auto-update.js b/src/utils/auto-update.js index 4efa0c2..8df03c4 100644 --- a/src/utils/auto-update.js +++ b/src/utils/auto-update.js @@ -40,7 +40,7 @@ async function needUpdate() { return result; } // 间隔五分钟 -const DURATION = 100 * 6 * 5; +const DURATION = 1000 * 6 ; function autoRefresh() { setTimeout(async () => { const willUpdate = await needUpdate(); @@ -50,7 +50,7 @@ function autoRefresh() { cancelButtonText: '取消', type: 'warning' }).then(async () => { - + location.reload(); }) } autoRefresh();