From afc46f0c478f5a5d249c46fab39e10151b3514af Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 6 May 2021 11:14:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AF=B7=E6=B1=82=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=8F=96=E6=B6=88loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/utils/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/utils/request.js b/frontend/src/utils/request.js index 945eb5b49a..8f45c32b37 100644 --- a/frontend/src/utils/request.js +++ b/frontend/src/utils/request.js @@ -140,6 +140,7 @@ service.interceptors.response.use(response => { checkAuth(response) return response.data }, error => { + error.response.config.loading && tryHideLoading(store.getters.currentPath) let msg if (error.response) { checkAuth(error.response)