From 9d04847325d6e875594a4a9fcda8711323376184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Wed, 10 Jul 2019 23:49:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/yilia/source-src/js/slider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/yilia/source-src/js/slider.js b/themes/yilia/source-src/js/slider.js index e6dfbf5..b1c6234 100644 --- a/themes/yilia/source-src/js/slider.js +++ b/themes/yilia/source-src/js/slider.js @@ -114,7 +114,7 @@ const vm = new Vue({ } else { this.fullTextSearchItems.push(...result.data) } - this.fullTextSearchItems.hasMore = (result.total > this.fullTextSearch.pageNum * this.fullTextSearch.limit) + this.fullTextSearch.hasMore = (result.total > this.fullTextSearch.pageNum * this.fullTextSearch.limit) }).catch(err => { this.fullTextSearch.tip = '加载失败, 请刷新重试' this.fullTextSearch.isLoading = false @@ -159,7 +159,7 @@ const vm = new Vue({ } }, fullTextSearchWords (newVal, oldVal) { - this.fullTextSearchItems.hasMore = false + this.fullTextSearch.hasMore = false this.fullTextSearchItems.isLoading = false this.fullTextSearch.tip = undefined this.fullTextSearchItems.splice(0, this.fullTextSearchItems.length)