方案一:var val = JSON.parse(item.value);
分析:使用boolean()函数,转换不成功,使用JSON.parse解决
cqs_jition ©著作权
文章标签 JSON 文章分类 JavaScript 前端开发
方案一:var val = JSON.parse(item.value);
分析:使用boolean()函数,转换不成功,使用JSON.parse解决
下一篇:JS判断字符串不为空:
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M