js将字符串转换为对象

字符串格式这样
方法eval("(" + data + “)”);
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/q1923408717/article/details/118102373