fix: 修复路由初始化竞态、存储状态静默覆盖与存储清理误删

This commit is contained in:
Cursor Agent
2026-06-26 09:12:58 +00:00
committed by 雨霖铃
parent 1948ba67a7
commit 0545910b16
7 changed files with 137 additions and 11 deletions
+2 -1
View File
@@ -15,6 +15,7 @@ export default function Index() {
sizes,
reloadAfterClean,
loading,
isRefreshingSizes,
result,
showConfirm,
setShowConfirm,
@@ -26,7 +27,7 @@ export default function Index() {
handleClean,
} = useStorageCleaner();
const isButtonDisabled = !(someSelected || allSelected) || loading;
const isButtonDisabled = !(someSelected || allSelected) || loading || isRefreshingSizes;
if (isInitializing) {
return (