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(() => {