TypeError: Cannot read property 'style' of undefined
guoshuke opened this issue · comments
guoshuke commented
图片能正常出来 但是关闭的时候就会报这个错误 几率性发生的问题
<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 || []}
/>