diff --git a/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue b/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue index 3e8e03d5d..d9dfa003a 100644 --- a/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue +++ b/TUICallKit-Vue3/TUIKit/pages/chat/chat.vue @@ -610,7 +610,7 @@ const { proxy } = getCurrentInstance() patientLeaveNotified = false; console.log('进入onMounted:', options); const app = getApp(); - const userID = options.userID|| app.globalData.userID; + let userID = options.userID|| app.globalData.userID; if(!userID.includes('patient')){ userID='patient_'+userID }