瀏覽代碼

Merge branch 'mergeBranch' into redUrgent

qymljy 1 年之前
父節點
當前提交
dbc3c77620
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/HDrpManagement/publicCustomer/modules/detail/contacts/list.vue

+ 1 - 1
src/HDrpManagement/publicCustomer/modules/detail/contacts/list.vue

@@ -17,7 +17,7 @@
     <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  :height="tableHieght" fixedName="operation">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'tag'">
-          <el-tag v-for="item in scope.column.data.tag" color="#FA8C16" size="mini" type="warning" effect="dark" style="margin-right: 5px">
+          <el-tag v-for="item in scope.column.data.tag" :key="item.index" color="#FA8C16" size="mini" type="warning" effect="dark" style="margin-right: 5px">
             <span>{{item}}</span>
           </el-tag>
         </div>