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

通用error报错会阻塞页面行为怎么解决? #283

Closed
albafica2015 opened this issue May 12, 2017 · 1 comment
Closed

通用error报错会阻塞页面行为怎么解决? #283

albafica2015 opened this issue May 12, 2017 · 1 comment

Comments

@albafica2015
Copy link

const app = dva({
...createLoading(),
history: browserHistory,
onError (error) {
message.error(error.message)
},
})

从这里报错后,页面所有元素都不能点,要刷新页面才行,怎么能不阻塞页面?

@superlbr
Copy link
Collaborator

superlbr commented Jun 1, 2018

参考 dvajs/dva#1222

@superlbr superlbr closed this as completed Jun 1, 2018
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

2 participants