fix: refresh log info on partial delete failure

This commit is contained in:
RedwindA
2026-03-21 21:11:52 +08:00
parent dcd0911612
commit 13122aa0fa

View File

@@ -203,10 +203,10 @@ export default function SettingsPerformance(props) {
size: formatBytes(freed_bytes),
}),
);
fetchLogInfo();
} else {
showError(res.data.message || t('清理失败'));
}
fetchLogInfo();
} catch (error) {
showError(t('清理失败'));
} finally {