Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch函数是否没有定义? #5

Open
hjs557523 opened this issue Mar 10, 2020 · 3 comments
Open

fetch函数是否没有定义? #5

hjs557523 opened this issue Mar 10, 2020 · 3 comments

Comments

@hjs557523
Copy link

我看了一下这个小程序的源码,发现fetch函数并没有定义,请问下这个项目的源码是完整的吗?还是说以前微信平台是支持fetch函数进行接口数据请求的?我记得微信进行接口请求都是用的wx.request类似ajax进行的,您的fetch函数是否是对wx.request封装?但是您的代码里没有体现,app.js也是空函数

@monkindey
Copy link
Owner

这个是一个很久的仓库了,只是用来试了下手。在我做的时候,fetch 应该是微信平台支持的一个方法吧。

@hjs557523

This comment has been minimized.

@monkindey
Copy link
Owner

是的哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants