File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"recommendations" : [
3
+ " afzalsayed96.icones" ,
4
+ " antfu.iconify" ,
3
5
" antfu.unocss" ,
4
6
" dbaeumer.vscode-eslint" ,
5
7
" editorconfig.editorconfig" ,
6
8
" esbenp.prettier-vscode" ,
7
- " formulahendry.auto-complete-tag" ,
8
9
" formulahendry.auto-close-tag" ,
10
+ " formulahendry.auto-complete-tag" ,
9
11
" formulahendry.auto-rename-tag" ,
10
- " kisstkondoros.vscode-gutter-preview" ,
11
- " mariusalchimavicius.json-to-ts" ,
12
+ " lokalise.i18n-ally" ,
12
13
" mhutchie.git-graph" ,
14
+ " mikestead.dotenv" ,
15
+ " naumovs.color-highlight" ,
16
+ " pkief.material-icon-theme" ,
13
17
" sdras.vue-vscode-snippets" ,
14
18
" vue.volar" ,
15
- " vue.vscode-typescript-vue-plugin"
19
+ " vue.vscode-typescript-vue-plugin" ,
20
+ " whtouche.vscode-js-console-utils" ,
21
+ " zhuangtongfa.material-theme"
16
22
]
17
23
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export interface RequestOption<ResponseData = any> {
30
30
*
31
31
* @param response Axios response
32
32
* @param instance Axios instance
33
- * @returns
34
33
*/
35
34
onBackendFail : (
36
35
response : AxiosResponse < ResponseData > ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const request = createFlatRequest<App.Service.Response>(
31
31
} ,
32
32
async onBackendFail ( _response ) {
33
33
// when the backend response code is not "0000", it means the request is fail
34
- // for example: the token is expired, refetch token and retry request
34
+ // for example: the token is expired, refresh token and retry request
35
35
} ,
36
36
transformBackendResponse ( response ) {
37
37
return response . data . data ;
@@ -73,7 +73,7 @@ export const demoRequest = createRequest<App.Service.DemoResponse>(
73
73
} ,
74
74
async onBackendFail ( _response ) {
75
75
// when the backend response code is not "200", it means the request is fail
76
- // for example: the token is expired, refetch token and retry request
76
+ // for example: the token is expired, refresh token and retry request
77
77
} ,
78
78
transformBackendResponse ( response ) {
79
79
return response . data . result ;
You can’t perform that action at this time.
0 commit comments