Skip to content

Commit e9b7e0d

Browse files
committed
fix: 修复匿名群聊相关bug
1 parent 9eaa352 commit e9b7e0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/chat/ChatBox.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ export default {
138138
if (this.loadAll) {
139139
return this.$message.success("已到达顶部");
140140
}
141+
if(this.chat===null || this.chat.type===undefined){
142+
return;
143+
}
141144
let param = {}
142145
if (this.chat.type == 'GROUP') {
143146
param.groupId = this.chat.targetId;

0 commit comments

Comments
 (0)