|
@@ -32,7 +32,7 @@ const checkVersion = () => {
|
|
// cache: 'no-store' // 禁用缓存
|
|
// cache: 'no-store' // 禁用缓存
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
if (res?.data?.data !== version) {
|
|
if (res?.data?.data !== version) {
|
|
- Confirm('系统提示', '发现新版本,是否立即刷新页面', { autoCloseTime }).then(() => {
|
|
|
|
|
|
+ Confirm('系统提示', '发现新版本,是否立即刷新页面', { autoCloseTime: autoCloseTime-3000 }).then(() => {
|
|
window.location.reload()
|
|
window.location.reload()
|
|
})
|
|
})
|
|
}
|
|
}
|