报警告之前
<el-table-column :label="item" v-for="(item,index) in batchs" >
<template slot-scope="scope">
<span >{{scope.row.nums[index]}}</span>
</template>
</el-table-column>
在添加:key即可
添加之后
<el-table-column :label="item" v-for="(item,index) in batchs" :key="item">
<template slot-scope="scope">
<span >{{scope.row.nums[index]}}</span>
</template>
</el-table-column>