diff --git a/src/maintenance/index.jsx b/src/maintenance/index.jsx index 3df462d..a215b46 100644 --- a/src/maintenance/index.jsx +++ b/src/maintenance/index.jsx @@ -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 = () => {};