feat: 去除不用的字段

master
xjs 2025-05-26 09:33:22 +08:00
parent 58da4126c9
commit a856a66bc2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
const asyncComponentConfig = { const asyncComponentConfig = {
loadingComponent: LoadingComponent, loadingComponent: LoadingComponent,
errorComponent: ErrorComponent, errorComponent: ErrorComponent,
onError: (error: Error, retry: () => void, fail: () => void, attempts: number) => { onError: (_error: Error, retry: () => void, fail: () => void, attempts: number) => {
if (attempts <= 3) { if (attempts <= 3) {
retry(); retry();
} else { } else {