电话咨询
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
:show-recording="isHost"
|
||||
:recording="isRecording"
|
||||
:recording-loading="recordingLoading"
|
||||
:replace-chat-with-screen-share="replaceChatWithScreenShare"
|
||||
@mic-toggle="onMicToggle"
|
||||
@cam-toggle="onCamToggle"
|
||||
@screen-toggle="onScreenToggle"
|
||||
@@ -230,6 +231,10 @@ import SelfVideoFloat from '@/components/meeting/SelfVideoFloat.vue'
|
||||
const meetingStore = useMeetingStore()
|
||||
const userStore = useUserStore()
|
||||
|
||||
/** 云律律师端:工具栏用共享屏幕替换聊天 */
|
||||
const cloudLawRole = ref('')
|
||||
const replaceChatWithScreenShare = computed(() => String(cloudLawRole.value).toLowerCase() === 'law')
|
||||
|
||||
const memberVisible = ref(false)
|
||||
const inviteVisible = ref(false)
|
||||
const chatVisible = ref(false)
|
||||
@@ -839,6 +844,14 @@ let stateStopWatch = null
|
||||
let redirectingToJoin = false
|
||||
|
||||
onLoad((query) => {
|
||||
cloudLawRole.value = query?.cloudLawRole || query?.cloud_law_role || ''
|
||||
if (!cloudLawRole.value) {
|
||||
// #ifdef H5
|
||||
try {
|
||||
cloudLawRole.value = window.sessionStorage.getItem('echo_cloud_law_meeting_role') || ''
|
||||
} catch (e) {}
|
||||
// #endif
|
||||
}
|
||||
// 刷新页面 / 直链访问 room 时 store 为空,回跳 join 避免白屏
|
||||
if (!meetingStore.isInMeeting) {
|
||||
const paramCode = (query?.code || '').replace(/\D/g, '')
|
||||
|
||||
Reference in New Issue
Block a user