-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
使用mock.js中的increment存在问题 #479
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"num": function({
_req,
Mock
}) {
//Mock.Random.increment(-Mock.Random.increment())
return Mock.mock('@increment()')
//return Mock.Random.increment()
},
使用Mock.Random.increment(-Mock.Random.increment())清零后为1后,注释掉。
然后请求,接口返回40003,mockjs文档是从1开始的?
是否支持的内置mock.js需要升级了?
The text was updated successfully, but these errors were encountered: