H5的<TUICallKit></TUICallKit>注释状态

This commit is contained in:
bobobobo
2026-01-30 23:21:22 +08:00
parent bccfb8a4e0
commit 7969ea00a9
10 changed files with 70 additions and 13 deletions

10
App.vue
View File

@@ -9,9 +9,15 @@
import { TUIChatKit } from './TUIKit'
import { getIpBlack } from './api'
TUIChatKit.init()
const { token } = useAuthUser()
// #ifdef APP-PLUS
uni.$TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit')
console.log(uni.$TUICallKit, 'TUICallKit ok') // 本地日志
// #endif
const { token, tencentUserSig } = useAuthUser()
const { loginTencentIM } = useUserStore()
/** 静默登录逻辑 */
const silentLogin = async (e: any) => {
@@ -21,7 +27,7 @@
return
}
console.log(e, '=====222==')
console.log(tencentUserSig, '=====222==')
if (e?.query?.invitationCode) {
reLaunch('/pages/login/phone-register/phone-register', {
invitationCode: e.query.invitationCode