From 43d1e6634db7562a6c8ef2ec00ecd2aa988241d2 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 17 Jun 2022 09:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppCountryAlbum/AlbumDetail.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index 8eb971d3..31005faf 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -232,7 +232,11 @@ if (this.current > 1) { this.list = [...this.list, ...res.data.records] } else { - this.list = res.data.records + this.list = [] + + this.$nextTick(() => { + this.list = res.data.records + }) } if (res.data.records.length < 10) {