小程序文件上传返回字符串问题 2019-09-26 本文已影响0人 嵩鼠 如正常解析报错JSON则用以下方式即可 let data=res.data.replace(/\ufeff/g,''); let cs = JSON.parse(data1)