Skip to content

Commit

Permalink
闭合标签
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankFang committed Jun 24, 2018
1 parent 4ebf22e commit 070cff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/button.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<button class="g-button" :class="{[`icon-${iconPosition}`]: true}">
<g-icon class="icon" v-if="icon" :name="icon"></g-icon>
<g-icon class="icon" v-if="icon" :name="icon"/>
<div class="content">
<slot></slot>
<slot/>
</div>
</button>
</template>
Expand Down

1 comment on commit 070cff4

@yingying0525
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这么写是推荐的吗?

Please sign in to comment.