-
Notifications
You must be signed in to change notification settings - Fork 447
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
项目运行网络错误 #14
Comments
并不会啊,clone下来运行我没加接口地址,所以运行不了,可以自己mock数据,数据我已经上传了一份。 |
楼主,//mock数据 app.use('./api',express.static('./api')); 这样行不通,还需要配置什么么 |
马上我会用easy-mock来模拟数据,你这种方法也可以啊,api路径写对就行,不需要其它配置了 |
mock数据有加上了么?我第一次用这个,不明白怎么mock数据,之前是写react的 |
api/travelList报错是什么原因呢?报404:Cannot POST /api/travelList |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
项目运行网络错误?抽空改一下吧!
The text was updated successfully, but these errors were encountered: