fixbug
This commit is contained in:
parent
4b75dd95a1
commit
41fad85e61
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user