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

vue3 版本更改options 无法update #197

Closed
cnhuye opened this issue Sep 19, 2021 · 1 comment
Closed

vue3 版本更改options 无法update #197

cnhuye opened this issue Sep 19, 2021 · 1 comment

Comments

@cnhuye
Copy link

cnhuye commented Sep 19, 2021

之前是vue2 版本,使用正常。
升级到 vue3 后, 更改 options 如 options.navbar, viewer 不会更新。 chrome 中加断点发现,viewsjs 中的 options 仍然是首次初始化时的数据。

查看了v-viewer 代码发现,原来在 watch(options) 时会 rebuildviewer(), view3 中只会 updateviewer()。

@mirari
Copy link
Owner

mirari commented Sep 21, 2021

感谢反馈,3.0.10已修复

@mirari mirari closed this as completed Dec 10, 2021
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