@spaceflow/core 0.5.0 → 0.6.0
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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/shared/i18n/i18n.ts +2 -0
package/package.json
CHANGED
package/src/shared/i18n/i18n.ts
CHANGED
|
@@ -37,6 +37,8 @@ export function initI18n(lang?: string): void {
|
|
|
37
37
|
},
|
|
38
38
|
returnNull: false,
|
|
39
39
|
returnEmptyString: false,
|
|
40
|
+
// 确保 init 同步完成(默认 initImmediate: true 会将加载推到 setTimeout)
|
|
41
|
+
initImmediate: false,
|
|
40
42
|
// i18next v25.8+ 会在 init 时输出 locize.com 推广日志
|
|
41
43
|
showSupportNotice: false,
|
|
42
44
|
});
|