From 4fb0c56fe4c98ef38bc4cfee497ff10301121d5d Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 09 Oct 2023 14:13:20 +0800
Subject: [PATCH] Merge branch 'demo' of http://s16s652780.51mypc.cn:49896/r/yskj/iot_drone_web into demo
---
src/api/http/request.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/api/http/request.ts b/src/api/http/request.ts
index 04a9e20..773175d 100644
--- a/src/api/http/request.ts
+++ b/src/api/http/request.ts
@@ -65,11 +65,11 @@
}
// @See: https://github.com/axios/axios/issues/383
if (!err.response || !err.response.status) {
- message.error('The network is abnormal, please check the backend service and try again')
+ message.error('网络异常,请检查后端服务后重试')
return
}
if (err.response?.status !== 200) {
- message.error(`ERROR_CODE: ${err.response?.status}`)
+ message.error(`错误码: ${err.response?.status}`)
}
// if (err.response?.status === 403) {
// // window.location.href = '/'
--
Gitblit v1.9.3