From cdb383b529568746f880587701df13a8ae324ae6 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 3 Aug 2021 11:22:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/utils/request.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/utils/request.js b/frontend/src/utils/request.js index b6281eb4d5..e47ee2844a 100644 --- a/frontend/src/utils/request.js +++ b/frontend/src/utils/request.js @@ -52,9 +52,9 @@ service.interceptors.request.use( } ) -const defaultOptions = { - confirmButtonText: i18n.t('login.re_login') -} +// const defaultOptions = { +// confirmButtonText: i18n.t('login.re_login') +// } const checkAuth = response => { // 请根据实际需求修改 @@ -66,7 +66,6 @@ const checkAuth = response => { store.dispatch('user/logout').then(() => { location.reload() }) - }, { confirmButtonText: i18n.t('login.login_again'), showClose: false