From 754713282baa9c44eaaaba31acd8027b62666890 Mon Sep 17 00:00:00 2001 From: linxi Date: Mon, 3 Mar 2025 14:21:58 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E5=88=A0=E6=8E=89=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E5=86=85=E5=AE=B9=E5=90=8E=EF=BC=8C=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E5=BA=94=E8=AF=A5=E7=9B=B4=E6=8E=A5=E6=98=AF?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=E7=9A=84=EF=BC=8C=E4=B8=8D=E8=A6=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=B5=AE=E5=8A=A8=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodSearch/index.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 266b5a1..6a05bbb 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -155,8 +155,8 @@ export default { if(val) { this.showkey = false } else { - this.showkey = true - this.currentSearch = this.recommendKeyword[0] + // this.showkey = true + // this.currentSearch = this.recommendKeyword[0] } } }, @@ -176,6 +176,7 @@ export default { this.$yrouter.switchTab('/pages/cart') }, showHistory() { + this.currentSearch = this.recommendKeyword[0] if(this.showkey) return if(this.search) { this.showkey = false @@ -185,10 +186,10 @@ export default { }, hideHistory() { - if(!this.search) { - this.showkey = true - return - } + // if(!this.search) { + // this.showkey = true + // return + // } this.showkey = false }, change(e) {