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

TypeError: Cannot read property 'style' of undefined #165

Open
guoshuke opened this issue Dec 23, 2020 · 0 comments
Open

TypeError: Cannot read property 'style' of undefined #165

guoshuke opened this issue Dec 23, 2020 · 0 comments

Comments

@guoshuke
Copy link

图片能正常出来 但是关闭的时候就会报这个错误 几率性发生的问题
<Zmage
onBrowsing={state => {
setBrowsing({ visible: false, set: [] });
}}
browsing={browsing.visible}
controller={{
// 关闭按钮
close: true,
// 缩放按钮
zoom: true,
// 下载按钮
download: true,
// 旋转按钮
rotate: true,
// 翻页按钮
flip: true,
// 多页指示
pagination: false,
}}
set={browsing.set || []}
/>

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