From 931c3324ac7743d7b3d5907006ecfff8478179f4 Mon Sep 17 00:00:00 2001 From: wayn <1669738430@qq.com> Date: Sat, 11 Feb 2023 17:55:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/utils/request.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7e9093..e27a454 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ npm run dev - 注册一个账号 - 登陆 -演示地址:http://mall.wayn.xin/mall +演示地址:http://121.4.124.33/mall ## 演示图 diff --git a/src/utils/request.js b/src/utils/request.js index 31f1676..9ac43b4 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -48,7 +48,7 @@ service.interceptors.response.use( }) }) } - + Toast.fail(res.msg) return Promise.reject(new Error(res.msg || 'Error')) } else { return res