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

viewer.exit()和viewer.hide()不生效 #301

Closed
Leizhenfei0123 opened this issue Nov 22, 2023 · 2 comments
Closed

viewer.exit()和viewer.hide()不生效 #301

Leizhenfei0123 opened this issue Nov 22, 2023 · 2 comments

Comments

@Leizhenfei0123
Copy link

使用场景: 我在工具箱添加了一个编辑按钮,每次点击编辑按钮就关闭预览,打开另一个弹框。

@Leizhenfei0123
Copy link
Author

使用场景: 我在工具箱添加了一个编辑按钮,每次点击编辑按钮就关闭预览,打开另一个弹框。使用场景: 我在工具箱添加了一个编辑按钮,每次点击编辑按钮就关闭预览,打开另一个弹框。现在问题是,点击编辑,预览关不掉
Uploading 图片.png…

@mirari
Copy link
Owner

mirari commented Nov 22, 2023

图片看不到啊

拿到viewer对象后执行exit方法就可以关闭

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

2 participants