From 6f3381c267b051e69e31573c3f73a41a6c64a95e Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 21 Jan 2025 09:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E5=BC=80=E5=90=AF=E9=99=90?= =?UTF-8?q?=E5=88=B6=E7=99=BB=E5=BD=95=E5=90=8E=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index a42d08a0..8d58d82c 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -100,8 +100,10 @@ service.interceptors.response.use( console.log(err) } router.push(`/login`) - this.$i18n.locale = 'zh' - this.setLanguage('zh') + // if (!this.$i18n.locale) { + // this.$i18n.locale = 'zh' + // this.setLanguage('zh') + // } this.$updateDictionary() }) }