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' })