Commit 16a89a4d by 陈超

T

parent 8f03fed5
...@@ -298,8 +298,9 @@ ...@@ -298,8 +298,9 @@
onFocus: function() { onFocus: function() {
this.showHistory = true this.showHistory = true
}, },
onHotKeyword: function(keyword) { onHotKeyword: function(key) {
console.log(keyword) this.keyword = key
this.onSearch()
}, },
onSearch: function() { onSearch: function() {
this.showHistory = false this.showHistory = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment