From 89d45a4e22c065d7bf7ccf159e0a8f846e00301e Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Mon, 21 Jan 2019 13:00:30 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20H5=20=E4=BC=98=E5=8C=96=20input=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E9=AB=98=E5=BA=A6=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/input/index.vue | 37 +++++++++++++++++------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/core/view/components/input/index.vue b/src/core/view/components/input/index.vue index 4fc4c52f..4020cf78 100644 --- a/src/core/view/components/input/index.vue +++ b/src/core/view/components/input/index.vue @@ -4,7 +4,7 @@ ref="wrapper" :disabled="disabled"> + @keyup.stop="_onKeyup">
{{ placeholder }}
+ class="input-placeholder">{{ placeholder }} +