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

文件引用位置:Cannot read properties 'querySelectorAll' of null 解决办法 #7

Open
zhenxingchen opened this issue Oct 21, 2016 · 1 comment

Comments

@zhenxingchen
Copy link

zhenxingchen commented Oct 21, 2016

非常感谢大神提供的调试工具。

按照说明,将script文件放置最开始位置,如下代码:

image

此时会提示如下错误:

image

该问题为当前页面元素没有加载导致。

需要调整文件引入位置,放置在body结束标签后引入的js文件中即可。如下:

image

希望能够帮到新手朋友们。^_^

@dntzhang
Copy link
Contributor

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