feat(projects): make branch main tiny & modify request retry times to 0

* feat(projects): Simplify the main branch and keep only the homepage menu

(cherry picked from commit daf58a6f22)

* feat(packages): change the default request retry count to `0`

(cherry picked from commit 96f4c82aec)
This commit is contained in:
青菜白玉汤
2024-07-12 10:55:23 +08:00
committed by Soybean
parent a454b620f1
commit 0379f95ecf
40 changed files with 19 additions and 3544 deletions

View File

@@ -20,7 +20,7 @@ export function createDefaultOptions<ResponseData = any>(options?: Partial<Reque
export function createRetryOptions(config?: Partial<CreateAxiosDefaults>) {
const retryConfig: IAxiosRetryConfig = {
retries: 3
retries: 0
};
Object.assign(retryConfig, config);