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

用uni做的H5引入@tencentcloud/call-uikit-vue2会报错 #244

Closed
linhaobo opened this issue Jul 6, 2023 · 2 comments
Closed

用uni做的H5引入@tencentcloud/call-uikit-vue2会报错 #244

linhaobo opened this issue Jul 6, 2023 · 2 comments

Comments

@linhaobo
Copy link

linhaobo commented Jul 6, 2023

用uni做的H5引入@tencentcloud/call-uikit-vue2会报错误
TypeError: Object(...) is not a function
at ./node_modules/@tencentcloud/call-uikit-vue2/dist/tuicall-uikit-vue2.es.js
改怎么解决呢

@rgzhaoh
Copy link

rgzhaoh commented Sep 13, 2023

@tencentcloud/call-uikit-vue2 supports up to vue2.7. vue2 in uni uses vue2.6, so it won't work. Suggestion: [@tencencit-uikit-vue2]. Suggestion: @tencentcloud/call-uikit-vue2 should not be used in uniapp. You can use @tencentcloud/call-uikit-vue2.6.

@tencentcloud/call-uikit-vue2 最低支持到 vue2.7。而 uni 中的 vue2 用的是 vue2.6。因此无法使用。建议:@tencentcloud/call-uikit-vue2 不要在 uniapp 使用。可以使用 @tencentcloud/call-uikit-vue2.6.

@WhiteCjy
Copy link

@tencentcloud/call-uikit-vue2 supports up to vue2.7. vue2 in uni uses vue2.6, so it won't work. Suggestion: [@tencencit-uikit-vue2]. Suggestion: @tencentcloud/call-uikit-vue2 should not be used in uniapp. You can use @tencentcloud/call-uikit-vue2.6.

@tencentcloud/call-uikit-vue2 最低支持到 vue2.7。而 uni 中的 vue2 用的是 vue2.6。因此无法使用。建议:@tencentcloud/call-uikit-vue2 不要在 uniapp 使用。可以使用 @tencentcloud/call-uikit-vue2.6.

uni-app 使用 @tencentcloud/call-uikit-vue2.6 初始化也报这个错
[TUICallKit] Initialization failed. Reason: TypeError: this._chat.on is not a function

@MinTate MinTate closed this as completed May 15, 2024
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

4 participants