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' import pub from './_pub'
export const message = { export const lang = {
pub, pub,
hello: '你好,世界' hello: '你好,世界'
} }

View File

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

View File

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

View File

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

View File

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

View File

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