build:preview
Former-commit-id: a15d2e58d9d8b1ce25577f2482e282c446609276 Former-commit-id: ebfe59a4d26fb025d35cdc1aeb950681a1c21aa1 Former-commit-id: bbb06ef0ab554f44320ec0775ce93731c3563626 Former-commit-id: bf87aa7c70b632e52f3d20a10afcd1427858f94f [formerly 52146f15099694bff9a7211c538ce83dc185c599] Former-commit-id: 0e976f7b13d707a015b7c89a04c5dfbbd099d29c Former-commit-id: 82a4a0506d806af6dc2757ccf485aab9e5e5f3ee Former-commit-id: 2c3c94b0f7b1f87e48e1216b23ee91c7c3f717c6 Former-commit-id: 5d98af7658f3134a350681b0182b97753eaa4ddb Former-commit-id: 30309394129fb1dc2c28c4780881147254a81e3b
This commit is contained in:
@@ -3,7 +3,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 (process.env.VUE_APP_BUILD_MODE === 'PREVIEW') {
|
||||
message = [
|
||||
`当前语言:${this.$t('_name')} [ ${this.$i18n.locale} ]`,
|
||||
`仅提供切换功能,没有配置具体的语言数据 `,
|
||||
|
||||
Reference in New Issue
Block a user