From 6ec8682e2ace0376e539a642353d110256e90f61 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 06 八月 2024 15:54:34 +0800 Subject: [PATCH] 1 --- plugins/http.js | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/http.js b/plugins/http.js index 4606465..5c1987a 100644 --- a/plugins/http.js +++ b/plugins/http.js @@ -175,13 +175,20 @@ msg: 'Not Found' }) } else if (res.statusCode === 500) { - message.showToast('服务器内部错误') + message.showToast('服务更新升级中,请稍等一分钟左右') reject({ data: null, code: 500, - msg: 'Internal Server Error' + msg: '服务更新升级中,请稍等一分钟左右' }) - } else { + } else if (res.statusCode === 502) { + message.showToast('服务更新升级中,请稍等一分钟左右') + reject({ + data: null, + code: 502, + msg: '服务更新升级中,请稍等一分钟左右' + }) + }else { message.showToast('其他错误') reject({ data: null, -- Gitblit v1.9.3