feat: menu supports carrying default query (#4687)

This commit is contained in:
Vben
2024-10-19 19:50:23 +08:00
committed by GitHub
parent 0df8c5c02c
commit 477a05c26c
21 changed files with 94 additions and 29 deletions

View File

@@ -78,8 +78,7 @@ function createRequestClient(baseURL: string) {
if (status >= 200 && status < 400 && code === 0) {
return data;
}
const error = { response };
throw error;
throw Object.assign({}, response, { response });
},
});