需要添加直播接口

This commit is contained in:
cbb
2026-01-12 17:52:15 +08:00
parent 83fec2617c
commit 13af9eb303
281 changed files with 313157 additions and 104 deletions

11
App.vue
View File

@@ -3,15 +3,18 @@
import { reLaunch } from './utils/router'
import { useAuthUser } from './composables/useAuthUser'
import { useUserStore } from './stores/user'
import { TUIChatKit } from './TUIKit'
// #ifdef APP-PLUS
import { setSdkLanguageFromSystem } from '@/uni_modules/tuikit-atomic-x/utils/setSdkLanguageFromSystem'
// #endif
TUIChatKit.init()
const { token } = useAuthUser()
const { loginTencentIM } = useUserStore()
/** 静默登录逻辑 */
const silentLogin = async () => {
console.log(token.value, '==')
if (token.value) {
loginTencentIM()
reLaunch('/TUIKit/components/TUIConversation/index')
@@ -25,6 +28,10 @@
onLaunch(() => {
console.log('App Launch111')
silentLogin()
// #ifdef APP-PLUS
setSdkLanguageFromSystem()
// #endif
})
onShow(() => {