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

πŸ› [BUG] new project, mock is not effect #11228

Open
liuchamp opened this issue May 6, 2024 · 0 comments
Open

πŸ› [BUG] new project, mock is not effect #11228

liuchamp opened this issue May 6, 2024 · 0 comments

Comments

@liuchamp
Copy link

liuchamp commented May 6, 2024

πŸ› bug 描述

mock function is error

warn - GET /api/500 is duplicated in mock/user.ts and mock/user.ts
warn - GET /api/404 is duplicated in mock/user.ts and mock/user.ts
warn - GET /api/403 is duplicated in mock/user.ts and mock/user.ts
warn - GET /api/401 is duplicated in mock/user.ts and mock/user.ts

just one mock interface in mock/user.ts , but mock check is duplicated
image

πŸ“· 倍现ζ­₯ιͺ€ | Recurrence steps

remock

🏞 ζœŸζœ›η»“ζžœ | Expected results

πŸ’» 倍现代码 | Recurrence code

Β© η‰ˆζœ¬δΏ‘ζ―

  • Ant Design Pro η‰ˆζœ¬: [e.g. 6.0.0]
  • umi η‰ˆζœ¬
  • ζ΅θ§ˆε™¨ηŽ―ε’ƒ
  • εΌ€ε‘ηŽ―ε’ƒ [e.g. ubuntu]

πŸš‘ 兢他俑息

image

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