电话咨询

This commit is contained in:
duoaohui
2026-06-04 15:35:19 +08:00
parent e426357850
commit 495f0aae1b
2 changed files with 17 additions and 4 deletions

View File

@@ -1004,6 +1004,19 @@ const minimizeToMiniProgram = () => {
stopCommandPolling()
meetingStore.leave().catch(() => {})
const mp = getMiniProgram()
try {
if (mp && typeof mp.postMessage === 'function') {
mp.postMessage({
data: {
type: 'cloudLawMinimized',
action: 'cloudLawMinimized',
callId: callId.value
}
})
}
} catch (e) {
console.warn('[CloudLawVideoCall] minimize postMessage failed', e)
}
try {
if (mp && typeof mp.navigateBack === 'function') {
mp.navigateBack({ delta: 1 })