Skip to content

Commit

Permalink
Select: use primitive key on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Jul 17, 2017
1 parent 84c81ff commit 766e289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
:style="{ 'max-width': inputWidth - 32 + 'px' }">
<transition-group @after-leave="resetInputHeight">
<el-tag
v-for="item in selected"
:key="item.value"
v-for="(item, index) in selected"
:key="index"
closable
:hit="item.hitState"
type="primary"
Expand Down

0 comments on commit 766e289

Please sign in to comment.