no message
Former-commit-id: 5ac0195c919b534d433ad1fddf85157c89a18a37 Former-commit-id: 1b1ac31df43769fb04c6a1e8d0a3fa5f716b6d86 Former-commit-id: 84ee88472c181b4810b2f7430809f1f54472de3d
This commit is contained in:
@@ -7,6 +7,7 @@ export default new VueI18n({
|
||||
locale: 'CN',
|
||||
messages: {
|
||||
'CN': require('./lang/cn'),
|
||||
'JA': require('./lang/ja'),
|
||||
'EN': require('./lang/en')
|
||||
}
|
||||
})
|
||||
|
||||
3
src/i18n/lang/ja.js
Normal file
3
src/i18n/lang/ja.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const message = {
|
||||
hello: 'こんにちは、世界'
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
<div class="dd-mb">
|
||||
<el-radio-group v-model="lang" @change="handleChange">
|
||||
<el-radio-button label="CN">中文</el-radio-button>
|
||||
<el-radio-button label="JA">日本語</el-radio-button>
|
||||
<el-radio-button label="EN">English</el-radio-button>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user