Browse Source

fix: 修复ios h5白屏的bug(降低概率)

master
xsx 7 months ago
parent
commit
acd5c37f4b
  1. 6
      im-uniapp/pages/chat/chat-box.vue

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

@ -676,9 +676,13 @@ export default {
if (this.scrollTop < 10) {
//
this.holdingScrollBar();
} else {
// ios
const delays = [100, 300, 1000];
delays.forEach(delay => setTimeout(() => this.scrollTop += 5, delay))
}
});
}, 50)
}, 10)
},
onShowMore() {
if (this.isGroup) {

Loading…
Cancel
Save