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

页面有其他li标签情况下,怎么调整。 #83

Open
Tuyuda opened this issue Mar 18, 2020 · 0 comments
Open

页面有其他li标签情况下,怎么调整。 #83

Tuyuda opened this issue Mar 18, 2020 · 0 comments

Comments

@Tuyuda
Copy link

Tuyuda commented Mar 18, 2020

问题:当页面预先加载了其他li标签,获取的liHeight的值就出现偏差。
尝试解决方法:
①:尝试修改选择器,将选择器的标签改为特定class,在源js文件内li标签上加上class,getElementByTagName也修改为getElementByClassName还是无效。

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