From 736973883280e9a6059c5da2f2e67d5a6aecdcef Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 29 八月 2025 15:03:22 +0800
Subject: [PATCH] 1

---
 zy-acs-flow/src/map/settings/ConfigSettings.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-acs-flow/src/map/settings/ConfigSettings.jsx b/zy-acs-flow/src/map/settings/ConfigSettings.jsx
index a7d7b4f..2ac2917 100644
--- a/zy-acs-flow/src/map/settings/ConfigSettings.jsx
+++ b/zy-acs-flow/src/map/settings/ConfigSettings.jsx
@@ -90,7 +90,7 @@
                                             value={field.value ?? ''}
                                             fullWidth
                                             onChange={(e) => {
-                                                field.onChange(e);
+                                                field.onChange(e.target.value === '' ? '' : Number(e.target.value));
                                             }}
                                         />
                                     )}
@@ -108,7 +108,7 @@
                                             value={field.value ?? ''}
                                             fullWidth
                                             onChange={(e) => {
-                                                field.onChange(e);
+                                                field.onChange(e.target.value === '' ? '' : Number(e.target.value));
                                             }}
                                         />
                                     )}

--
Gitblit v1.9.1