diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index e44a19b14..4ec4a4b72 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -482,7 +482,6 @@ - 0 ? this.allMsgs[historyLength - 1].id : 0 - if ($A.isIos() && list.length !== historyLength) { + if ($A.isIos() && list.length !== historyLength && this.$refs.scroller) { // 隐藏区域,让iOS断触 const scrollEl = this.$refs.scroller.$el scrollEl.style.visibility = 'hidden' @@ -1355,7 +1353,6 @@ export default { } }, - 'allMsgs.length' () { if (this.stickToBottom) { this.onToBottom()