diff options
Diffstat (limited to 'usecaseui-portal/src/app/shared/utils/http.ts')
-rw-r--r-- | usecaseui-portal/src/app/shared/utils/http.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/shared/utils/http.ts b/usecaseui-portal/src/app/shared/utils/http.ts index bbfc19c7..598d2afb 100644 --- a/usecaseui-portal/src/app/shared/utils/http.ts +++ b/usecaseui-portal/src/app/shared/utils/http.ts @@ -49,11 +49,6 @@ export class Http { if(+result_code === 200){
resolve(response.data)
}else{
- // let res = {
- // message:this.message.error(result_message || "Network exception, please try again."),
- // callbackFunction:callback
- // }
- // reject(res)
this.message.error(result_message || "Network exception, please try again.")
if(callback)callback();
}
|