@flexem/fc-gui 3.0.0-alpha.125 → 3.0.0-alpha.126

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.
@@ -187,8 +187,7 @@ export class TextStateElement {
187
187
  targetLanguage = currentLanguage;
188
188
  }
189
189
  else {
190
- // 无法获取语种代码(可能是配置错误),返回空字符串
191
- return '';
190
+ targetLanguage = defaultLanguage;
192
191
  }
193
192
  }
194
193
  // 返回对应语种的文本,如果没有则返回空字符串
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "bundles/fc-gui.umd.js",
3
- "version": "3.0.0-alpha.125",
3
+ "version": "3.0.0-alpha.126",
4
4
  "module": "public_api.js",
5
5
  "typings": "public_api.d.ts",
6
6
  "license": "UNLICENSED",