feat: 联调对话功能

This commit is contained in:
王天骄
2026-06-09 17:00:23 +08:00
parent 3414d0662c
commit 2192b855a1
77 changed files with 1082 additions and 487 deletions
+3 -5
View File
@@ -293,7 +293,9 @@ function handleLogin() {
uni.setStorageSync('clinical-thinking-access-token', result.tokens.access)
uni.setStorageSync('clinical-thinking-refresh-token', result.tokens.refresh)
showToast(result.message || '正在进入系统...')
showConfigPage.value = true
uni.redirectTo({
url: '/pages/config/config'
})
}).catch(error => {
showToast(error instanceof Error ? error.message : '登录失败,请稍后重试')
}).finally(() => {
@@ -348,10 +350,6 @@ function showToast(message: string) {
if (toastTimer) clearTimeout(toastTimer)
toastMessage.value = message
toastVisible.value = true
uni.showToast({
title: message,
icon: 'none'
})
toastTimer = setTimeout(() => {
toastVisible.value = false
}, 2500)