@flexem/fc-gui 3.0.0-alpha.126 → 3.0.0-alpha.127
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.
|
@@ -43958,10 +43958,16 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
43958
43958
|
}
|
|
43959
43959
|
// 转换为数字类型
|
|
43960
43960
|
const languageId = value === '' || value == null ? null : Number(value);
|
|
43961
|
-
// 调用 GuiContext
|
|
43961
|
+
// 调用 GuiContext 的语种切换方法
|
|
43962
43962
|
this.args.guiContext.updateCurrentLanguageId(languageId).then(() => {
|
|
43963
|
-
//
|
|
43964
|
-
this.
|
|
43963
|
+
// 语种切换成功,调用 onClosed 回调,让数字显示元件也能更新
|
|
43964
|
+
this.onClosed({
|
|
43965
|
+
value: value,
|
|
43966
|
+
showValue: value,
|
|
43967
|
+
enableNumericalOperation: false,
|
|
43968
|
+
isNumericalOperation: false,
|
|
43969
|
+
variableRwType: 6
|
|
43970
|
+
});
|
|
43965
43971
|
}).catch(() => {
|
|
43966
43972
|
this.showValidationErrorInfo(this.localization.loadFailed);
|
|
43967
43973
|
this.isSubmitting = false;
|