viewerjs icon indicating copy to clipboard operation
viewerjs copied to clipboard

initViewer初始方法 看图页面 页面 parent 元素偶尔会拿不到 抛异常

Open YouthguyZ opened this issue 5 months ago • 0 comments

Describe the bug initViewer初始方法 看图页面 页面 parent 元素偶尔会拿不到 抛异常

To Reproduce Steps to reproduce the behavior: 点击数据选中弹出视图框 页面没有其他操作 偶会突然 initViewer 方法里 parent 元素访问报错

Expected behavior 正常获取视图parent 元素

Screenshots 微信图片_20240827150138 Snipaste_2024-08-27_15-14-53

代码错误定位是这段

Desktop (please complete the following information):

  • Browser [ chrome ]
  • Version [ 103.0.5060.134 ]

Additional context Add any other context about the problem here.

YouthguyZ avatar Aug 27 '24 07:08 YouthguyZ