mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Improvement] follow eslint-plugin-vue strongly-recommended code style (#482)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user