:dog: 微信小程序 - 扩展插件(发送请求、Promise API、表单验证、Restful API)
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
muzhi1991 opened this issue 6 years ago · comments
https://github.com/skyvow/wx-extend/blob/554005539070bc6e73163660487dd85e3125118c/src/assets/plugins/wx-request/lib/core/WxRequest.js#L147-L151
参数arguments设置的有没有问题?这样吧?
if (typeof config === 'string') { config = Object.assign({}, { url: arguments[0] }, arguments[1]) }