fix:for循环添加key

This commit is contained in:
shijing 2024-08-20 14:57:00 +08:00
parent fef724888b
commit 5ac6bd553b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
workObj.count_sampling
}}</el-descriptions-item>
<el-descriptions-item label="配帮管批次号" v-if=" workObj.mb_&&workObj.mb_.assemb">
<span v-for="item in workObj.mb_.assemb">{{item.batch}}</span>
<span v-for="item in workObj.mb_.assemb" :key="item.id">{{item.batch}}</span>
</el-descriptions-item>
</el-descriptions>
<el-button