|
@@ -86,7 +86,9 @@
|
|
/>
|
|
/>
|
|
</el-aside>
|
|
</el-aside>
|
|
<!-- 判断是否有会话 -->
|
|
<!-- 判断是否有会话 -->
|
|
- <el-container v-show="currentConversation.targetId">
|
|
|
|
|
|
+ <el-container
|
|
|
|
+ v-show="currentConversation.targetId && active === 'conversation'"
|
|
|
|
+ >
|
|
<el-main style="padding: 0" id="el-main">
|
|
<el-main style="padding: 0" id="el-main">
|
|
<message-list ref="messageList"></message-list>
|
|
<message-list ref="messageList"></message-list>
|
|
</el-main>
|
|
</el-main>
|
|
@@ -97,7 +99,7 @@
|
|
</el-footer>
|
|
</el-footer>
|
|
</el-container>
|
|
</el-container>
|
|
<el-empty
|
|
<el-empty
|
|
- v-if="!currentConversation.targetId"
|
|
|
|
|
|
+ v-if="!currentConversation.targetId || active !== 'conversation'"
|
|
:image="emptyImg"
|
|
:image="emptyImg"
|
|
style="width: 100%;height: 100%"
|
|
style="width: 100%;height: 100%"
|
|
description=" "
|
|
description=" "
|
|
@@ -167,7 +169,7 @@ export default {
|
|
console.log(item, "item");
|
|
console.log(item, "item");
|
|
core.selectConversation({
|
|
core.selectConversation({
|
|
conversationType: item.conversationType,
|
|
conversationType: item.conversationType,
|
|
- targetId: item.targetId,
|
|
|
|
|
|
+ targetId: item.targetId + "",
|
|
channelId: item.channelId
|
|
channelId: item.channelId
|
|
});
|
|
});
|
|
this.active = "conversation";
|
|
this.active = "conversation";
|