修复关闭切换动画时从搜索候选列表点击内容无效的问题
This commit is contained in:
@@ -94,6 +94,7 @@ export default {
|
||||
this.$refs.dom_input.focus()
|
||||
},
|
||||
handleTemplistClick(index) {
|
||||
console.log(index)
|
||||
this.sendEvent('listClick', index)
|
||||
},
|
||||
handleFocus() {
|
||||
@@ -101,8 +102,10 @@ export default {
|
||||
this.sendEvent('focus')
|
||||
},
|
||||
handleBlur() {
|
||||
this.focus = false
|
||||
this.sendEvent('blur')
|
||||
setTimeout(() => {
|
||||
this.focus = false
|
||||
this.sendEvent('blur')
|
||||
}, 80)
|
||||
},
|
||||
handleSearch() {
|
||||
this.hideList()
|
||||
|
||||
Reference in New Issue
Block a user