From e4148d9ba90c4699a57fb84170bb383821ac8bcd Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: Tue, 22 Jun 2021 11:32:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9console=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/src/main.js b/web_src/src/main.js index 472a5f67..ffd7fde5 100644 --- a/web_src/src/main.js +++ b/web_src/src/main.js @@ -47,7 +47,7 @@ axios.interceptors.response.use(function (response) { }, function (error) { // 对响应错误做点什么 if (error.response.status === 401) { - console.log((1111)) + console.log("Received 401 Response") router.push('/login'); } return Promise.reject(error);