|
|
|
@ -2,7 +2,7 @@ import { clearAllCaches } from '@/utils/commons';
|
|
|
|
|
|
|
|
|
|
const MaintenancePage = () => {
|
|
|
|
|
const handleClearCache = async () => {
|
|
|
|
|
await clearAllCaches();
|
|
|
|
|
await clearAllCaches(alert(`清除成功🎉`));
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleReload = () => {
|
|
|
|
@ -13,8 +13,6 @@ const MaintenancePage = () => {
|
|
|
|
|
const _num = Date.now();
|
|
|
|
|
url.searchParams.set('_spam' + _num, _num);
|
|
|
|
|
window.location.href = url.toString();
|
|
|
|
|
// window.location.href = window.location.href + '?versionCheck=true';
|
|
|
|
|
// window.location.reload(true);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleVersionCheck = () => {};
|
|
|
|
|