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

当加载网页时,自动调用js中的代码没反应,如果放在网页的一个按钮的点击事件中就正常 #2

Open
coderxiaotu opened this issue Sep 19, 2017 · 1 comment

Comments

@coderxiaotu
Copy link

No description provided.

@hjhrq1991
Copy link
Owner

js桥需h5与客户端进行初始化绑定,为了避免重定向、重复加载等多种问题,初始化绑定发生在onPageFinished之后。如你的自动调用的js代码在js加载完成之前就调用了会无效

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