From f917982a7dfd7479d2f630998d43484089ef4f9b Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Wed, 28 Sep 2022 15:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E6=9E=B6=E5=9B=BE=E4=B9=A6=E9=BB=98?= =?UTF-8?q?=E8=AE=A45=E5=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/bookRackList.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/views/bookRackList.vue b/src/views/bookRackList.vue index 7cee300..4ab7264 100644 --- a/src/views/bookRackList.vue +++ b/src/views/bookRackList.vue @@ -126,9 +126,7 @@ export default { const shelfNo = res.shelfs[index] this.$set(this.bookList, shelfNo, res.shelfBook[shelfNo]) } - if (this.listData.length > 0) { - this.initSwiper() - } + this.initSwiper() setTimeout(() => { this.loading = false }, 1000)