[Improvement] follow eslint-plugin-vue strongly-recommended code style (#482)

This commit is contained in:
neverland
2017-12-26 10:34:38 +08:00
committed by GitHub
parent 6362f7b74b
commit 508cdfc0c9
105 changed files with 409 additions and 462 deletions

View File

@@ -12,7 +12,8 @@
'van-field--autosize': autosize,
'van-field--has-icon': hasIcon,
'van-hairline--surround': border
}">
}"
>
<textarea
v-if="type === 'textarea'"
v-bind="$attrs"
@@ -23,12 +24,12 @@
/>
<input
v-else
v-bind="$attrs"
v-bind="$attrs"
v-on="listeners"
class="van-field__control"
:type="type"
:value="value"
/>
>
<div
v-if="hasIcon"
v-show="$slots.icon || value"