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

请教dva/connect时传进来的这个loading是怎么来的? #1464

Closed
weihomechen opened this issue Jan 17, 2018 · 1 comment
Closed

请教dva/connect时传进来的这个loading是怎么来的? #1464

weihomechen opened this issue Jan 17, 2018 · 1 comment

Comments

@weihomechen
Copy link

weihomechen commented Jan 17, 2018

Versions of packages used: (哪个库的哪个版本出现的问题)

dva 2.1.0

你好,在使用dva/connect时,发现下图第二个参数loading,如果去掉了路由无法正常跳转,但是不知道这个参数是怎么来的。
image

另外,请教dva-loading使用的正确姿势,虽然看了文档还是不会用,是否要新建一个model来存放其他modelloading状态?

@weihomechen
Copy link
Author

loadingdva-loading的,使用就是
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