no message

Former-commit-id: 03faa046703ea77198544f514588a6c0bd74d00f
Former-commit-id: fd9fcf53e4bcca1827e5c1ca5e99f6d04de76822
Former-commit-id: be9a59d81f6398f10433cdad90a1c924151adbe1
This commit is contained in:
李杨
2018-02-13 22:32:05 +08:00
parent 9d89f28878
commit dc268cafc2
6 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
import pub from './_pub'
export const message = {
export const lang = {
pub,
hello: '你好,世界'
}

View File

@@ -1,6 +1,6 @@
import pub from './_pub'
export const message = {
export const lang = {
pub,
hello: 'Hello World'
}

View File

@@ -1,6 +1,6 @@
import pub from './_pub'
export const message = {
export const lang = {
pub,
hello: 'こんにちは、世界'
}

View File

@@ -1,3 +1,3 @@
<template>
<el-button>{{$t('message.hello')}}</el-button>
<el-button>{{$t('lang.hello')}}</el-button>
</template>

View File

@@ -2,7 +2,7 @@
<Container>
<PageHeader
slot="header"
:title="`${$t('message.pub.pageHeader.demo')} 1`"
:title="`${$t('lang.pub.pageHeader.demo')} 1`"
url="http://kazupon.github.io/vue-i18n/en/">
</PageHeader>
<DemoI18nControl></DemoI18nControl>

View File

@@ -2,7 +2,7 @@
<Container>
<PageHeader
slot="header"
:title="`${$t('message.pub.pageHeader.demo')} 2`"
:title="`${$t('lang.pub.pageHeader.demo')} 2`"
url="http://kazupon.github.io/vue-i18n/en/">
</PageHeader>
<DemoI18nControl></DemoI18nControl>