String转Json Lyu 2021-01-28 124 阅读1分钟 后端返回的数据,其中familyMembers和guardianInfo类型是String,需要转成Json做循环。 console.log(JSON.parse(res.data.guardianInfo))