From 6b3b61acb56c5515b4a30a580523190871f5899d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Mon, 17 Oct 2022 14:27:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E9=A1=B5=E9=9D=A2=E5=B1=95=E5=BC=80=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/navigation/search/searchPage.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue index 449312a..765834c 100644 --- a/pages/navigation/search/searchPage.vue +++ b/pages/navigation/search/searchPage.vue @@ -35,7 +35,8 @@ @click="doSearch(keyword)"> {{ keyword }} -
展示更多
+ +
展示更多
@@ -202,7 +203,7 @@ export default { empty:false, scrollTop: 0, loadIndex: 10, - oldKeywordIndex: "", + oldKeywordIndex: 0, selectedWay: { brand: [], categoryId: [], @@ -570,7 +571,7 @@ export default { key: "OldKeys", success: (res) => { var OldKeys = JSON.parse(res.data); - this.oldKeywordIndex = res.data.length; + this.oldKeywordIndex = OldKeys.length; for (let i = 0; i < index; i++) { this.oldKeywordList.push(OldKeys[i]); }