修复已知问题

This commit is contained in:
bobobobo
2026-01-22 01:23:57 +08:00
parent 2b26bfed69
commit 5f2fab9335
18 changed files with 414 additions and 61 deletions

17
App.vue
View File

@@ -14,20 +14,27 @@
const { token } = useAuthUser()
const { loginTencentIM } = useUserStore()
/** 静默登录逻辑 */
const silentLogin = async () => {
const silentLogin = async (e: any) => {
if (token.value) {
loginTencentIM()
// reLaunch('/TUIKit/components/TUIConversation/index')
return
}
// 没有token去登录页
reLaunch('/pages/login/login')
console.log(e, '=====222==')
if (e?.query?.invitationCode) {
reLaunch('/pages/login/phone-register/phone-register', {
invitationCode: e.query.invitationCode
})
} else {
// 没有token去登录页
reLaunch('/pages/login/login')
}
}
onLaunch(() => {
onLaunch((e: any) => {
console.log('App Launch111')
silentLogin()
silentLogin(e)
// #ifdef APP-PLUS
setSdkLanguageFromSystem()