From 7ccc3db0bebf756ee527cef00f64b289b79c8ad5 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 21 Aug 2024 09:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=95=B0=E6=8D=AE=E4=BA=91?= =?UTF-8?q?=E5=9B=BE=E5=85=A8=E5=8F=A3=E5=BE=84=E5=A2=9E=E5=8A=A0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/utils/request.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0f3089c..2543c09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "1.0.202408201041", + "version": "1.0.202408210855", "description": "金鸡湖现代服务业品牌管理系统", "author": "若依", "license": "MIT", diff --git a/src/utils/request.js b/src/utils/request.js index d273357..75e7a53 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -91,10 +91,10 @@ service.interceptors.response.use(res => { // location.href = '/index'; router.replace("/login"); }) - }).catch(() => { - isRelogin.show = false; - }); - } + }).catch(() => { + isRelogin.show = false; + }); + } return Promise.reject('无效的会话,或者会话已过期,请重新登录。') } else if (code === 500) { Message({ message: msg, type: 'error' })