summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/shared/utils
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-08 11:04:10 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-08 11:04:20 +0800
commit4900b654e209223e5948d51f0b629972a8eb917c (patch)
treebf3eec37440e6d6f6150340c021619a2c66b1e21 /usecaseui-portal/src/app/shared/utils
parent43cb242d5a78e86786d4274fc539d81680fc15c4 (diff)
feat: Delete the useless message.error code in the code of slicing-task-model page
Change-Id: I517edc6a3aea2cc268771ec5082d99fddf7107b5 Issue-ID: USECASEUI-444 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/shared/utils')
-rw-r--r--usecaseui-portal/src/app/shared/utils/http.ts5
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();
}