From ebd772e015c774249134dd27b444dd15ad35ca38 Mon Sep 17 00:00:00 2001 From: CTP <630182278@qq.com> Date: Thu, 27 Apr 2023 15:42:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9C=80=E4=B8=8B=E6=96=B9=E6=A8=AA?= =?UTF-8?q?=E5=90=91=E6=BB=9A=E5=8A=A8=E6=9D=A1=20=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/product.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index cd35640f..3ff8622b 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -19,13 +19,7 @@ - + Date: Thu, 27 Apr 2023 15:46:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/utils/request.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 78a752d8..de06ffba 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ yarn-error.log* tests/**/coverage/ tests/e2e/reports selenium-debug.log +UDI_WMS_NEW/ # Editor directories and files .idea diff --git a/src/utils/request.js b/src/utils/request.js index a36d2ec3..4db06fb3 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -85,7 +85,7 @@ service.interceptors.response.use(res => { if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') { return res.data } - if (code === 401) { + if (code === 2) { if (!isRelogin.show) { isRelogin.show = true; MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', {