We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
1.mock -> index.js对get方法进行拦截:
2.在chrome的console使用fetch进行请求:
3.没有得到预期的结果。
The text was updated successfully, but these errors were encountered:
看下proxy的相关配置
Sorry, something went wrong.
�项目中没有配置proxy
在ice.config.js中配置了以下信息,导致了get没有被正常拦截:
devServer: { historyApiFallback: { rewrites: [{ from: /.*/, to: '/index.html', }], }, },
ClarkXia
No branches or pull requests
问题描述
1.mock -> index.js对get方法进行拦截:

2.在chrome的console使用fetch进行请求:


3.没有得到预期的结果。
The text was updated successfully, but these errors were encountered: