From 4c5def34e3756cb051895fede0791c2f059c72a7 Mon Sep 17 00:00:00 2001 From: MarSeventh <1193267292@qq.com> Date: Fri, 27 Sep 2024 23:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UploadForm.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/UploadForm.vue b/src/components/UploadForm.vue index 5bd7f83..e3ea92f 100644 --- a/src/components/UploadForm.vue +++ b/src/components/UploadForm.vue @@ -132,7 +132,9 @@ watch: { handler() { if (this.fileList.length > this.fileListLength) { this.$nextTick(() => { - this.$refs.scrollContainer.setScrollTop(this.$refs.scrollContainer.wrapRef.scrollHeight) + setTimeout(() => { + this.$refs.scrollContainer.setScrollTop(this.$refs.scrollContainer.wrapRef.scrollHeight) + }, 100) }) } this.fileListLength = this.fileList.length @@ -686,7 +688,7 @@ methods: { transition: all 0.3s ease; } .upload-list-dashboard.list-scrolled { - background-color: rgba(255, 255, 255, 0.8); + background-color: rgba(255, 255, 255, 0.7); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .upload-list-dashboard-title {