优化消息发送函数,设定音视频通话的记录发送规则
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<view class="">
|
||||
<show-location v-if="message.content.objectName == 'RC:LBSMsg'" :message="message" :isGroup="isGroup" />
|
||||
<show-video v-else-if="message.content.objectName == 'RC:VideoMsg'" :message="message" :isGroup="isGroup" />
|
||||
<show-audio v-else-if="message.content.objectName == 'RC:AudioMsg'" :message="message" :isGroup="isGroup" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import showLocation from './showLocation'
|
||||
import showAudio from './showAudio'
|
||||
import showVideo from './showVideo'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
@@ -21,7 +25,9 @@
|
||||
}
|
||||
},
|
||||
components: {
|
||||
showLocation
|
||||
showLocation,
|
||||
showAudio,
|
||||
showVideo
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user