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

关于全屏报错问题 #133

Open
sunboyZgz opened this issue Apr 15, 2021 · 0 comments
Open

关于全屏报错问题 #133

sunboyZgz opened this issue Apr 15, 2021 · 0 comments

Comments

@sunboyZgz
Copy link

sunboyZgz commented Apr 15, 2021

/src/components/HeaderCustom.tsx

if (screenfull.isEnabled && !screenfull.isFullscreen) {
    screenfull.request()
    .catch(console.log);        //do something
 }

进行一点判断和处理会不会更好呢?

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