集成融云1
This commit is contained in:
@@ -222,11 +222,13 @@ export const useUserStore = defineStore('user', () => {
|
||||
// //呼入
|
||||
uni.setStorageSync('room-parameters', {
|
||||
callType: 'in',
|
||||
mediaType: session.mediaType === 0 ? 'audio' : 'video'
|
||||
mediaType: session.mediaType === 0 ? 'audio' : 'video',
|
||||
callId: res.data.callId,
|
||||
mine: res.data.mine.userId
|
||||
});
|
||||
//跳转.nvue
|
||||
uni.navigateTo({
|
||||
url:'/pages/room/room'
|
||||
url:'/pages/room/incom'
|
||||
});
|
||||
})
|
||||
|
||||
@@ -258,6 +260,7 @@ export const useUserStore = defineStore('user', () => {
|
||||
res.data.reason
|
||||
)
|
||||
uni.$emit('OnCallDisconnected');
|
||||
uni.navigateBack()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user