[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

@@ -11,7 +11,7 @@
>
<ul :style="wrapperStyle">
<li
v-for="(option, index) in options"
v-for="(option, index) in options"
v-text="getOptionText(option)"
:class="{
'van-picker-column--disabled': isDisabled(option),

View File

@@ -11,12 +11,12 @@
<picker-column
v-for="(item, index) in currentColumns"
:key="index"
:valueKey="valueKey"
:value-key="valueKey"
:options="item.values"
:className="item.className"
:defaultIndex="item.defaultIndex"
:itemHeight="itemHeight"
:visibileColumnCount="visibileColumnCount"
:class-name="item.className"
:default-index="item.defaultIndex"
:item-height="itemHeight"
:visibile-column-count="visibileColumnCount"
@change="onChange(index)"
/>
<div class="van-picker__frame van-hairline--top-bottom" :style="frameStyle" />