Skip to content
Permalink
Browse files

修补一个开发时忘记恢复的测试逻辑

  • Loading branch information...
FairyEver committed Aug 28, 2019
1 parent d2f8b0c commit 473727b63f54d4e52e49f6d62b9b6931e593c71b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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} ]`,
`仅提供切换功能,没有配置具体的语言数据 `,

0 comments on commit 473727b

Please sign in to comment.
You can’t perform that action at this time.