开关类型控件保存为数字类型
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user