This repository has been archived by the owner on Nov 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
请问可以开发通用的适合原生小程序的 adapter 吗? #12
Comments
最近暂时没时间开发…但其实是可以拿我现有的 adapter 直接用的,抱歉哈 |
修改axios的源码,只是wepy的需要吗?原生的话可以不修改? |
不是的,原生的也要修改,因为小程序用的是 wx.request 发的请求,没有 Web 上的 XMLHttpRequest 或者 Fetch。 |
@jswxwxf 我说的是wepy-plugin-axios, 在lib/plugin.js里有修改axios的源码,是不是只针对wepy |
噢噢,你可以试着拿出来用啊 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
可以在原生小程序里使用 axios 的。谢谢大神。:)
The text was updated successfully, but these errors were encountered: