Fix:3284 【商城小程序】搜索页面—编辑搜索框内容时,浮动词条没有隐藏
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
@blur="showHistory"
|
||||
@focus="hideHistory"
|
||||
@input="hideHistory"
|
||||
@change="hideHistory"
|
||||
@compositionstart="hideHistory"
|
||||
/>
|
||||
<view class="btn flex-0 flex jc-center ai-center" @click.stop="submit">
|
||||
<text class="iconfont icon-sousuo2"></text>
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user