Skip to content

Commit

Permalink
修复站点排序因为:key可能重复而导致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dubox authored and dubox committed Mar 2, 2019
1 parent 84554b0 commit 3f67f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ <h3 class="t">
>
<i-form :model="searchData.models">

<Row :gutter="32" type="flex" align="middle" v-for="(item, index) in searchData.models" v-dragging="{ item: item, list: searchData.models, group: 'models'}" :key="item.scope" :draggable="drawer.itemDraggable">
<Row :gutter="32" type="flex" align="middle" v-for="(item, index) in searchData.models" v-dragging="{ item: item, list: searchData.models, group: 'models'}" :key="index" :draggable="drawer.itemDraggable">
<i-col span="5">
<form-item >
<i-select v-model="item.type" placeholder="搜索引擎" :disabled="!item.canEdit">
Expand Down

0 comments on commit 3f67f4d

Please sign in to comment.