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]); }