From 70cac6bc83e572f2d8330b889c864ddb8f21bc8b Mon Sep 17 00:00:00 2001 From: zhoukeda <1315948824@qq.com> Date: Thu, 27 Apr 2023 11:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=85=B3=E7=B1=BB=E5=9E=8B=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6=E4=BF=9D=E5=AD=98=E4=B8=BA=E6=95=B0=E5=AD=97=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- visualdev/Tnb.VisualDev.Engine/Core/FormDataParsing.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualdev/Tnb.VisualDev.Engine/Core/FormDataParsing.cs b/visualdev/Tnb.VisualDev.Engine/Core/FormDataParsing.cs index a76ba438..b838c767 100644 --- a/visualdev/Tnb.VisualDev.Engine/Core/FormDataParsing.cs +++ b/visualdev/Tnb.VisualDev.Engine/Core/FormDataParsing.cs @@ -515,7 +515,7 @@ public class FormDataParsing : ITransient { if (model.__config__.jnpfKey.Equals(JnpfKeyConst.CREATETIME) || model.__config__.jnpfKey.Equals(JnpfKeyConst.DATE)) return res.ToString().ParseToDateTime(); - else if (model.__config__.jnpfKey.Equals(JnpfKeyConst.NUMINPUT)) + else if (model.__config__.jnpfKey.Equals(JnpfKeyConst.NUMINPUT) || model.__config__.jnpfKey.Equals(JnpfKeyConst.SWITCH))//modify by zhoukeda 2023427 开关默认数字 return res; else return res.ToString(); }