From 9b98fac449a25fb14bc4595194518d0b6a392fb5 Mon Sep 17 00:00:00 2001 From: zhf <1204297681@qq.com> Date: Thu, 3 Jul 2025 17:35:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=A9=BA=E5=80=BC?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/text-box/ibiz-input-number/ibiz-input-number.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/text-box/ibiz-input-number/ibiz-input-number.tsx b/src/editor/text-box/ibiz-input-number/ibiz-input-number.tsx index 401828dd7..3966a00bb 100644 --- a/src/editor/text-box/ibiz-input-number/ibiz-input-number.tsx +++ b/src/editor/text-box/ibiz-input-number/ibiz-input-number.tsx @@ -81,7 +81,7 @@ export const IBizInputNumber = defineComponent({ minimumFractionDigits: decimalPlaces, maximumFractionDigits: decimalPlaces, }; - return num.toLocaleString('en-US', options); // 'en-US'代表美国英语格式,可以根据需要更换 + return num?.toLocaleString('en-US', options); // 'en-US'代表美国英语格式,可以根据需要更换 }; // 千分位字符转换成数字 -- Gitee From e2ebe8ef0018c7e71f67dfecb835c5e3fe0b22c2 Mon Sep 17 00:00:00 2001 From: zhf <1204297681@qq.com> Date: Thu, 3 Jul 2025 17:36:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E7=BC=96=E8=BE=91=E5=99=A8=E5=8F=82=E6=95=B0=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/switch/ibiz-switch/ibiz-switch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/switch/ibiz-switch/ibiz-switch.tsx b/src/editor/switch/ibiz-switch/ibiz-switch.tsx index d5dd29aac..bfd46179d 100644 --- a/src/editor/switch/ibiz-switch/ibiz-switch.tsx +++ b/src/editor/switch/ibiz-switch/ibiz-switch.tsx @@ -14,7 +14,7 @@ import { SwitchEditorController } from '../switch-editor.controller'; * * @description 使用el-switch组件,表示两种相互对立的状态间的切换,多用于触发「开/关」。支持编辑器类型包含:`开关部件` * @primary - * @editorparams {"name":"dicData","parameterType":"Array<{value: number;label: string;}>","defaultvalue":[{"value":0,"label":""},{"value":1,"label":""}],"description":"开关时文字描述。在配置的数组中,value值为0时,是 switch 关闭时的文字描述;value值为1时,是 switch 打开时的文字描述"} + * @editorparams {"name":"dicData","parameterType":"Array<{value: number;label: string;}>","defaultvalue":[{"value":0,"label":""},{"value":1,"label":""}],"description":"开关的文字描述。在配置的数组中,value值为0时,是 switch 关闭时的文字描述;value值为1时,是 switch 打开时的文字描述"} * @ignoreprops overflowMode * @ignoreemits blur | focus | enter | infoTextChange */ -- Gitee