Browse Source

Revert "fix: app点开图片后消息会自动滚到底部的bug"

This reverts commit f845c31d
master
blue 2 years ago
parent
commit
89677f0ccd
  1. 9
      im-uniapp/pages/chat/chat-box.vue

9
im-uniapp/pages/chat/chat-box.vue

@ -72,7 +72,7 @@
<view class="tool-name">文件</view>
</view>
<!-- #endif -->
<view class="chat-tools-item" @click="onRecorderInput()">
<view class="chat-tools-item" @click="onVoiceInput()">
<view class="tool-icon iconfont icon-microphone"></view>
<view class="tool-name">语音消息</view>
</view>
@ -542,6 +542,8 @@
},
readedMessage() {
if(this.unreadCount == 0){
console.log("0000000000")
return;
}
let url = ""
@ -673,11 +675,12 @@
this.$store.commit("activeChat", options.chatIdx);
//
this.isReceipt = false;
//
},
onShow() {
//
this.scrollToBottom();
},
onUnload() {
this.$store.commit("activeChat", -1);
}
}

Loading…
Cancel
Save