diff --git a/packages/fes-plugin-locale/index.js b/packages/fes-plugin-locale/index.js index 42a838c4..29ec4699 100644 --- a/packages/fes-plugin-locale/index.js +++ b/packages/fes-plugin-locale/index.js @@ -4,6 +4,9 @@ import { createI18n, useI18n } from 'vue-i18n'; // 动态变更 local // 其他组件能拿到 t 函数 // local 变更后,能通知到其他函数 +// locales目录下以语言简称为子文件下存放配置信息 +// 其他插件可以运行时修改配置 +// 所有插件使用一个语言和配置 export default { install(app, options, ctx) { diff --git a/packages/fes-plugin-locale/package.json b/packages/fes-plugin-locale/package.json index 1206821d..85bb4410 100644 --- a/packages/fes-plugin-locale/package.json +++ b/packages/fes-plugin-locale/package.json @@ -10,6 +10,6 @@ "author": "", "license": "MIT", "dependencies": { - "vue-i18n": "^9.0.0-beta.2" + "vue-i18n": "^9.0.0-beta.15" } }