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
如何加入延时返回呢?类似于这种东西
The text was updated successfully, but these errors were encountered:
Add delayed Response method. #17
9b8a6a5
released v1.5.12 #17
867ee80
@MEEllis 给你提供了一个一模一样的延迟加载方法,请更新 webpack-api-mocker@1.5.12+
const delay = require('webpack-api-mocker/utils/delay'); const noProxy = process.env.NO_PROXY === 'true'; const proxy = { 'GET /api/user': { id: 1, username: 'kenny', sex: 6 }, // ... } module.exports = (noProxy ? {} : delay(proxy, 1000));
Sorry, something went wrong.
No branches or pull requests
如何加入延时返回呢?类似于这种东西

The text was updated successfully, but these errors were encountered: