Skip to content

Commit

Permalink
fix: 解决页面onNavigationBarSearchInputChanged钩子函数获取到的数据不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Mar 21, 2019
1 parent 6aa31eb commit e6d9d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platforms/h5/components/page/pageHead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
confirm-type="search"
@focus="_focus"
@blur="_blur"
@input="_input"
@update:value="_input"
/>
</div>
<div class="uni-page-head-ft">
Expand Down Expand Up @@ -446,9 +446,9 @@ export default {
_blur () {
this.focus = false
},
_input () {
_input (text) {
UniServiceJSBridge.emit('onNavigationBarSearchInputChanged', {
text: this.text
text
})
}
}
Expand Down

0 comments on commit e6d9d88

Please sign in to comment.