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

this.$viewerApi is undefined ? #231

Open
better-pz opened this issue May 9, 2022 · 5 comments
Open

this.$viewerApi is undefined ? #231

better-pz opened this issue May 9, 2022 · 5 comments
Labels
need more info 需要提供更多信息描述问题

Comments

@better-pz
Copy link

better-pz commented May 9, 2022

使用组件的调用,在app.use中全局使用,但是在组件的方法中调用this.$viewerApi 是undefined
d2rN8HcCmBiiBLWSKRWn1A==
使用方式:
VKliFU5#z6DS0Uw2jcsqpg==

@mirari
Copy link
Owner

mirari commented May 9, 2022

用的是vue3吗?需要使用vue3-viewer
https://github.com/mirari/v-viewer/tree/v3

@better-pz
Copy link
Author

better-pz commented May 9, 2022

@mirari

用的是vue3吗?需要使用vue3-viewer https://github.com/mirari/v-viewer/tree/v3

是vue2
vue2应该如何使用aopi的方式?

@mirari
Copy link
Owner

mirari commented May 9, 2022

需要提供调用代码来判断了

@wuhouz
Copy link

wuhouz commented Jun 8, 2022

是的,我也遇到了同样的问题,不知道如何解决

@mirari mirari added the need more info 需要提供更多信息描述问题 label Jun 9, 2022
@huahai547
Copy link

是的,我也遇到了同样的问题,不知道如何解决 vue2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info 需要提供更多信息描述问题
Projects
None yet
Development

No branches or pull requests

4 participants