[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

@@ -1,6 +1,6 @@
<template>
<i class="van-icon" :class="`van-icon-${name}`" v-on="$listeners">
<slot></slot>
<slot />
<div v-if="info" class="van-icon__info">{{ info }}</div>
</i>
</template>
@@ -10,7 +10,9 @@ import install from '../utils/install';
export default {
install,
name: 'van-icon',
props: {
name: String,
info: String