From 52e040bd47bef71c66785f42875640bc52fcb555 Mon Sep 17 00:00:00 2001 From: yanzili <978387851@qq.com> Date: Mon, 28 Jun 2021 16:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report-ui/package.json | 2 +- report-ui/src/api/axios.js | 2 +- report-ui/src/views/report/report/index.vue | 20 +++++--------------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/report-ui/package.json b/report-ui/package.json index 5fdd0db1..bfcea186 100644 --- a/report-ui/package.json +++ b/report-ui/package.json @@ -96,4 +96,4 @@ "last 2 versions", "not ie <= 8" ] -} +} \ No newline at end of file diff --git a/report-ui/src/api/axios.js b/report-ui/src/api/axios.js index 93561583..46bae2f4 100644 --- a/report-ui/src/api/axios.js +++ b/report-ui/src/api/axios.js @@ -35,7 +35,7 @@ service.interceptors.response.use( if (res.code == 200) { return res } - else if (res.code == '0024') { + else if (res.code == '50014') { //登录超时或被登出,弹确认框,用户确认后,跳转到登录页面 MessageBox({ message: "当前登录已失效或异地登录,请重新登录", diff --git a/report-ui/src/views/report/report/index.vue b/report-ui/src/views/report/report/index.vue index 053de1e5..f0aea687 100644 --- a/report-ui/src/views/report/report/index.vue +++ b/report-ui/src/views/report/report/index.vue @@ -80,21 +80,21 @@ label="序号" type="index" min-width="40" /> - + - - + --> - \ No newline at end of file + \ No newline at end of file