From e6d9d8813be3c0bf404eeac323e541ccd13e4883 Mon Sep 17 00:00:00 2001 From: qiang Date: Thu, 21 Mar 2019 16:26:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A1=B5=E9=9D=A2onNa?= =?UTF-8?q?vigationBarSearchInputChanged=E9=92=A9=E5=AD=90=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E8=8E=B7=E5=8F=96=E5=88=B0=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/h5/components/page/pageHead.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/h5/components/page/pageHead.vue b/src/platforms/h5/components/page/pageHead.vue index 941f890a3..6dba259fa 100644 --- a/src/platforms/h5/components/page/pageHead.vue +++ b/src/platforms/h5/components/page/pageHead.vue @@ -66,7 +66,7 @@ confirm-type="search" @focus="_focus" @blur="_blur" - @input="_input" + @update:value="_input" />
@@ -446,9 +446,9 @@ export default { _blur () { this.focus = false }, - _input () { + _input (text) { UniServiceJSBridge.emit('onNavigationBarSearchInputChanged', { - text: this.text + text }) } } -- GitLab