From cbea56267874fd076dd25ff83107749bcc9994db Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Wed, 16 Jan 2019 12:06:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20h5=20input=20placeh?= =?UTF-8?q?older=20=E4=BB=8E=E4=B8=8D=E5=8F=AF=E8=A7=81=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E5=8F=AF=E8=A7=81=E6=97=B6=E6=B8=B2=E6=9F=93=E9=94=99?= =?UTF-8?q?=E4=B9=B1=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/core/view/components/input/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/view/components/input/index.vue b/src/core/view/components/input/index.vue index 8166bb75a..4fc4c52f0 100644 --- a/src/core/view/components/input/index.vue +++ b/src/core/view/components/input/index.vue @@ -141,7 +141,7 @@ export default { }) }, mounted () { - this._initInputStyle() + // this._initInputStyle() if (this.confirmType === 'search') { var formElem = document.createElement('form') @@ -388,6 +388,8 @@ export default { .input-placeholder { color: gray; + height: inherit; + line-height: inherit; } input[type="search"]::-webkit-search-cancel-button { -- GitLab