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? 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
PS: 我叕来提 issue 了~
问题简述 根据 better-mock 的 readme.md 上描述:
better-mock
100% 兼容 Mock.js。
但是根据 mockjs 的使用文档以及运行结果看来, 与 better-mock 是不相同的.
参考:
复现步骤
Mock.mock(`@image(200x100, #ff0000)`) // => "https://iph.href.lu/200x100?bg=&fg=&text=#ff0000"
Mock.mock(`@image(200x100, #ff0000)`) // => "http://dummyimage.com/200x100/ff0000"
期望结果 api 与 mockjs 保持一致.
Mock.mock(`@image(200x100, #ff0000)`) // => "https://iph.href.lu/200x100?bg=ff0000" // 或 // => "http://dummyimage.com/200x100/ff0000"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PS: 我叕来提 issue 了~
问题简述
根据
better-mock
的 readme.md 上描述:但是根据 mockjs 的使用文档以及运行结果看来, 与 better-mock 是不相同的.
参考:
复现步骤
期望结果
api 与 mockjs 保持一致.
The text was updated successfully, but these errors were encountered: