This commit is contained in:
Your Name
2026-03-23 18:02:16 +08:00
parent 18fee2e8f8
commit 250d173c2f
525 changed files with 10659 additions and 793 deletions
+2 -1
View File
@@ -95,6 +95,7 @@ import { ref, onUnmounted, nextTick, computed } from 'vue'
import { VideoCamera, CircleClose, Phone } from '@element-plus/icons-vue'
import { getCallSignature, endCall } from '@/api/tcm'
import feedback from '@/utils/feedback'
import { formatTUICallUserError } from '@/utils/tuicall-error'
import { TUICallKitAPI, TUICallKit, TUICallType, STATUS } from '@trtc/calls-uikit-vue'
interface CallInfo {
@@ -646,7 +647,7 @@ const startCall = async () => {
} catch (error: any) {
console.error('启动通话失败:', error)
const errorMessage = error.message || '启动通话失败,请稍后重试'
const errorMessage = formatTUICallUserError(error, '启动通话失败,请稍后重试')
feedback.msgError(errorMessage)
callRejected.value = true
statusText.value = errorMessage