From 7464de3adc3010076d57a151f7d557c76f266bd5 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Thu, 7 Mar 2024 15:52:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=83=A8=E5=88=86=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E9=9D=9E=E6=AD=A3=E5=B8=B8=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E5=88=B0=E5=BA=95=E9=83=A8=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/js/pages/manage/components/DialogWrapper.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index 1fe8eaab5..e3d4f0ba4 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -2155,16 +2155,10 @@ export default { this.__msgs_height = height; }, - onScrollGroupResize({height}) { - const {offset, tail} = this.scrollInfo() + onScrollGroupResize() { if (this.stickToBottom) { this.onToBottom() - } else if (tail > 0 - && typeof this.__scroll_group_data !== "undefined" - && offset - this.__scroll_group_data.offset + tail === height - this.__scroll_group_data.height) { - this.onToBottom() } - this.__scroll_group_data = {height, offset, tail} }, onActive() {