mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
feat: plugin-locale 3%
This commit is contained in:
parent
d8259ba17a
commit
72db4e8ecd
@ -4,6 +4,9 @@ import { createI18n, useI18n } from 'vue-i18n';
|
|||||||
// 动态变更 local
|
// 动态变更 local
|
||||||
// 其他组件能拿到 t 函数
|
// 其他组件能拿到 t 函数
|
||||||
// local 变更后,能通知到其他函数
|
// local 变更后,能通知到其他函数
|
||||||
|
// locales目录下以语言简称为子文件下存放配置信息
|
||||||
|
// 其他插件可以运行时修改配置
|
||||||
|
// 所有插件使用一个语言和配置
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
install(app, options, ctx) {
|
install(app, options, ctx) {
|
||||||
|
@ -10,6 +10,6 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue-i18n": "^9.0.0-beta.2"
|
"vue-i18n": "^9.0.0-beta.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user