修复已知问题
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="chat" :style="{ marginBottom: keywordHight + 'px' }">
|
||||
<TUICallKit></TUICallKit>
|
||||
<div :class="['tui-chat', !isPC && 'tui-chat-h5']">
|
||||
<div
|
||||
v-if="!currentConversationID"
|
||||
@@ -15,6 +16,7 @@
|
||||
:isGroup="!isNotInGroup ? isGroup : null"
|
||||
:headerExtensionList="headerExtensionList"
|
||||
:serviceID="serviceID"
|
||||
:type="backStatusName"
|
||||
@closeChat="closeChat"
|
||||
@openGroupManagement="handleGroup"
|
||||
/>
|
||||
@@ -101,6 +103,7 @@
|
||||
TUIConstants,
|
||||
ExtensionInfo
|
||||
} from '@tencentcloud/tui-core-lite'
|
||||
import { TUICallKit } from '@trtc/calls-uikit-vue'
|
||||
import ChatHeader from './chat-header/index.vue'
|
||||
import MessageList from './message-list/index.vue'
|
||||
import MessageInput from './message-input/index.vue'
|
||||
@@ -121,7 +124,11 @@
|
||||
import { onLoad, onUnload } from '@dcloudio/uni-app'
|
||||
import { initChat, logout } from './entry-chat-only.ts'
|
||||
|
||||
// 返回状态
|
||||
const backStatusName = ref('')
|
||||
|
||||
onLoad(options => {
|
||||
backStatusName.value = options?.type || ''
|
||||
serviceID.value = options?.id || ''
|
||||
initChat(options)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user