From 55378959dfacc76d0a950d202347589623e361a8 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Wed, 28 Aug 2019 19:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=A1=A5=E4=B8=80=E4=B8=AA=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E6=97=B6=E5=BF=98=E8=AE=B0=E6=81=A2=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 7578868c6790298157ee12414d8a6dc1bef81b60 [formerly 7578868c6790298157ee12414d8a6dc1bef81b60 [formerly 7578868c6790298157ee12414d8a6dc1bef81b60 [formerly 7578868c6790298157ee12414d8a6dc1bef81b60 [formerly ca8835bd74dac256d3b84b20534d8f9277673f7a [formerly 292a29b64f05fe7cecc65d263a4b41349561611f]]]]] Former-commit-id: 72c2118c9fcb64b3f6c97de7245d8ca775a6f065 Former-commit-id: 6abcfda57fd6c7bc8dcfa363c4c40d0d449f73a4 Former-commit-id: 07c2255deab1c3160322f4c55271240081719e37 [formerly d5ccd591c127890384658f6d7a4122e505d6926a] Former-commit-id: 3f4327e70c4ae4aeac87b12b80f6d3dcd638154b Former-commit-id: 0eee7dc02a5e007e4c1c8b1789337f8410609074 Former-commit-id: 83923e3de0de81bb79de4de200092beddb9a0b55 Former-commit-id: 2b3ddcc6c5ab7f92ecff2810daaa45b0304a0cfe Former-commit-id: 3f4bd0e0aac476377c492297de2dca3076ed12e6 --- src/layout/header-aside/components/header-locales/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/header-aside/components/header-locales/index.vue b/src/layout/header-aside/components/header-locales/index.vue index f2ebf023..0035dcc2 100644 --- a/src/layout/header-aside/components/header-locales/index.vue +++ b/src/layout/header-aside/components/header-locales/index.vue @@ -24,7 +24,7 @@ export default { onChangeLocale (command) { this.$i18n.locale = command let message = `当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]` - if (!['TRAVIS', 'NETLIFY'].includes(process.env.VUE_APP_BUILD_MODE)) { + if (['TRAVIS', 'NETLIFY'].includes(process.env.VUE_APP_BUILD_MODE)) { message = [ `当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]`, `仅提供切换功能,没有配置具体的语言数据 `,