uploadFile接口返回的数据由json变成了字符串,导致无法解析数据
发布于 6 年前 作者 xiulanyang 517 次浏览 来自 问答

控制台打印的数据如下

由postman测试的数据如下

1 回复

这是个坑 要用JSON.parse(res.data) 转换一下

回到顶部