diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 0c38267..29ce2bb 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -11,6 +11,8 @@ @blur="showHistory" @focus="hideHistory" @input="hideHistory" + @change="hideHistory" + @compositionstart="hideHistory" /> @@ -171,10 +173,11 @@ export default { this.showkey = true }, hideHistory() { - if(!this.search) { - this.showkey = true - return - } + + // if(!this.search) { + // this.showkey = true + // return + // } this.showkey = false }, change(e) {