[Improvement] simplify inner tag name (#395)

This commit is contained in:
neverland
2017-12-08 14:56:50 +08:00
committed by GitHub
parent 2cc5767a99
commit 3208d1bb3d
37 changed files with 199 additions and 199 deletions
+4 -4
View File
@@ -8,8 +8,8 @@
<!-- with icon -->
<template v-if="displayStyle === 'default'">
<van-loading v-if="type === 'loading'" color="white" />
<van-icon v-else class="van-toast__icon" :name="type" />
<loading v-if="type === 'loading'" color="white" />
<icon v-else class="van-toast__icon" :name="type" />
<div v-if="message !== undefined" class="van-toast__text">{{ message }}</div>
</template>
</div>
@@ -28,8 +28,8 @@ export default {
name: 'van-toast',
components: {
[Icon.name]: Icon,
[Loading.name]: Loading
Icon,
Loading
},
props: {