[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

@@ -2,20 +2,21 @@
<div
class="van-checkbox"
:class="[
`van-checkbox--${shape}`, {
'van-checkbox--disabled': isDisabled
}]">
`van-checkbox--${shape}`,
{ 'van-checkbox--disabled': isDisabled }
]"
>
<span class="van-checkbox__input">
<input
v-model="currentValue"
type="checkbox"
class="van-checkbox__control"
:disabled="isDisabled"
/>
>
<icon name="success" />
</span>
<span class="van-checkbox__label" @click="onClickLabel">
<slot></slot>
<slot />
</span>
</div>
</template>