|
@@ -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>
|