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数据应该如何运行呢? #48

Open
qitian-QT opened this issue Feb 17, 2022 · 0 comments
Open

mock数据应该如何运行呢? #48

qitian-QT opened this issue Feb 17, 2022 · 0 comments

Comments

@qitian-QT
Copy link

我在vscode中通过npm run start把编程导航主站的项目运行起来了,
image
点用户登录没有反应,现在想添加mock里的数据试试,在config/config.ts中把"mock: false,"这句去掉之后就报错了
ZSXQ_20220217_232811032
报错信息:“mock value of MOCK_OPEN should be function or object, but got boolean”
应该是要怎么才能使用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