摘要:
//验证是否为正整数 function isPositiveInteger(s) { var re = /^[0-9]+$/; return re.test(s); } if (exchangeCount "" || exchangeCount "0" || Number(exchangeCount) NaN || !isPositiveInteger(exchangeCount))// Numb 阅读全文
摘要:
(参考资料) 前端json字符串转Json对象:https://blog.csdn.net/qq_33172029/article/details/82903230 在c#中将对象序列化json格式:https://blog.csdn.net/Upgrader/article/details/836 阅读全文