Commit 1d8dad93befac9b28a5ea2a92f82c7de8dc942c6
Committed by
GitHub
1 parent
5f75101e
Update tag.vue
do not show any spaces
Showing
1 changed file
with
1 additions
and
5 deletions
Show diff stats
src/components/tag/tag.vue
1 | 1 | <template> |
2 | 2 | <div :class="classes" transition="fade"> |
3 | - <span :class="dotClasses" v-if="showDot"></span> | |
4 | - <span :class="textClasses"> | |
5 | - <slot></slot> | |
6 | - </span> | |
7 | - <Icon v-if="closable" type="ios-close-empty" @click.stop="close"></Icon> | |
3 | + <span :class="dotClasses" v-if="showDot"></span><span :class="textClasses"><slot></slot></span><Icon v-if="closable" type="ios-close-empty" @click.stop="close"></Icon> | |
8 | 4 | </div> |
9 | 5 | </template> |
10 | 6 | <script> | ... | ... |