diff --git a/im-client/im-client.iml b/im-client/im-client.iml new file mode 100644 index 0000000..00ac649 --- /dev/null +++ b/im-client/im-client.iml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/im-uniapp/pages/chat/chat-box.vue b/im-uniapp/pages/chat/chat-box.vue index b031a6c..5a9c741 100644 --- a/im-uniapp/pages/chat/chat-box.vue +++ b/im-uniapp/pages/chat/chat-box.vue @@ -72,7 +72,7 @@ 文件 - + 语音消息 @@ -542,8 +542,6 @@ }, readedMessage() { if(this.unreadCount == 0){ - - console.log("0000000000") return; } let url = "" @@ -675,12 +673,11 @@ this.$store.commit("activeChat", options.chatIdx); // 复位回执消息 this.isReceipt = false; - }, - onShow() { - // 页面滚到底部 + // 滚动至底部 this.scrollToBottom(); }, onUnload() { + this.$store.commit("activeChat", -1); } }