From 075beeb66b54ec25f968804f66ee9c1d967791ad Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 28 Aug 2023 10:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=8F=E6=84=9F=E8=AF=8D=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=AC=AC=E4=B8=80=E9=A1=B5=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=BA=95=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/xbot/AppSensitiveXbot/components/Detail.vue | 4 ++++ project/pidu/app/AppSensitive/components/Detail.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/xbot/AppSensitiveXbot/components/Detail.vue b/packages/xbot/AppSensitiveXbot/components/Detail.vue index 2298fdd8..c675afff 100644 --- a/packages/xbot/AppSensitiveXbot/components/Detail.vue +++ b/packages/xbot/AppSensitiveXbot/components/Detail.vue @@ -486,6 +486,10 @@ }) this.msgPages = res.data.pages || 2 } + this.$nextTick(() => { + var height = document.querySelector('.content-right-info').scrollHeight + document.querySelector('.content-right-info').scrollTop = height + }) this.isLoading = false }).catch(() => { this.isLoading = false diff --git a/project/pidu/app/AppSensitive/components/Detail.vue b/project/pidu/app/AppSensitive/components/Detail.vue index 6c52b28e..4a340f7f 100644 --- a/project/pidu/app/AppSensitive/components/Detail.vue +++ b/project/pidu/app/AppSensitive/components/Detail.vue @@ -485,6 +485,10 @@ } }) this.msgPages = res.data.pages || 2 + this.$nextTick(() => { + var height = document.querySelector('.content-right-info').scrollHeight + document.querySelector('.content-right-info').scrollTop = height + }) } this.isLoading = false }).catch(() => {