gc_i18n 1.3.7 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lang/index.js CHANGED
@@ -15,8 +15,9 @@ export const languages = [
15
15
  ];
16
16
  export default {
17
17
  install(app, router) {
18
- console.log("i18n", import.meta.env);
18
+ // Vue 2 下 app 为 Vue 构造函数,需传入以正确注册 VueI18n
19
19
  const i18n = new gc_i18n({
20
+ // vue: app,
20
21
  appCode: "TEST",
21
22
  router,
22
23
  orgCode: import.meta.env.MODE === "unit" ? "DD" : "GREENCLOUD",