[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

@@ -14,8 +14,8 @@
'van-button--bottom-action': bottomAction
}
]"
@click="onClick"
>
@click="onClick"
>
<loading
v-if="loading"
class="van-button__icon-loading"
@@ -23,7 +23,7 @@
:color="type === 'default' ? 'black' : 'white'"
/>
<span class="van-button__text">
<slot></slot>
<slot />
</span>
</component>
</template>