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

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
This commit is contained in:
FairyEver 2019-08-28 19:40:41 +08:00
parent 604cf8e8df
commit 55378959df
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default {
onChangeLocale (command) { onChangeLocale (command) {
this.$i18n.locale = command this.$i18n.locale = command
let message = `当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]` 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 = [ message = [
`当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]`, `当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]`,
`仅提供切换功能,没有配置具体的语言数据 `, `仅提供切换功能,没有配置具体的语言数据 `,