wx.upload()回调方法返回数据格式是string,而不是json串
wx.upload()回调方法返回数据格式问题Wx.upload() callback method returns data format problem
wx.upload()回调方法返回数据格式问题框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | wx.upload() | 微信iOS客户端 | 7.0.15 | 2.12.1 |
wx.upload()回调方法返回数据格式是string,而不是json串
Framework type problem type API / component name terminal type wechat version basic library version applet bug wx.upload () wechat IOS client 7.0.15 2.12.1 wx.upload () the returned data format of callback method is string, not JSON string
回答:
对,需要json的话,自己使用JSON.parse
wx.upload() 这个api哪来的?为什么我没查到相关文档?
请学会如何「提问」(👈戳我)、【个体工商户】微信认证问题(👈戳我)