We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
解决了navbar 报错问题
setTimeout(function ( query.select(".navBarHtml").boundingClientRect(); query.exec(function (res) //页面加载慢的时候 res= [null] navHeight.value = res[0]?.height; //需要先判断res是否为空,否则会报错 }) ),500):
The text was updated successfully, but these errors were encountered:
你好 @lovelyqun, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。
Sorry, something went wrong.
这个从代码层面就能看出来会报错的 比较简单,无需复现 其次也是目前没有时间搞一个仓库
Successfully merging a pull request may close this issue.
What problem does this feature solve?(这个功能解决的问题)
解决了navbar 报错问题
What does the proposed API look like?(期望的 API)
setTimeout(function (
query.select(".navBarHtml").boundingClientRect();
query.exec(function (res) //页面加载慢的时候 res= [null]
navHeight.value = res[0]?.height; //需要先判断res是否为空,否则会报错
})
),500):
The text was updated successfully, but these errors were encountered: