Skip to content
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预览问题 #80

Open
zhuguibiao opened this issue Sep 9, 2021 · 0 comments
Open

关于Mock预览问题 #80

zhuguibiao opened this issue Sep 9, 2021 · 0 comments

Comments

@zhuguibiao
Copy link

JSON-SCHEMA:{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0},"name":{"type":"string"}},"required":["id","name"]}}},"required":["data"]}

mock 预览的内容是这样:{"data":[]}; // 数组的内容没有

官网的是:{"data":[{"id":187,"name":"dz^Bo"}]};

是关闭了mock功能的原因吗?如何操作成官网的那种?谢谢大佬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant