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

页面 unload 之后,还是会执行某些逻辑 #5

Open
longyiyiyu opened this issue Feb 2, 2019 · 1 comment
Open

页面 unload 之后,还是会执行某些逻辑 #5

longyiyiyu opened this issue Feb 2, 2019 · 1 comment
Labels
basic about basic structure experience learn from this

Comments

@longyiyiyu
Copy link
Contributor

比如 showModal,会导致 dailog 会展示到下一个/上一个页面

@longyiyiyu longyiyiyu added experience learn from this basic about basic structure labels Feb 2, 2019
@longyiyiyu
Copy link
Contributor Author

一般需要在 onUnload 里面设置标志位,在这些逻辑里面通过判断标志来屏蔽,非常恶心

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
basic about basic structure experience learn from this
Projects
None yet
Development

No branches or pull requests

1 participant