fix ui-admin warning

This commit is contained in:
supine-win
2022-05-20 21:40:11 +08:00
parent 24d46ad23a
commit d7b19327ab
6 changed files with 13 additions and 13 deletions

View File

@ -58,7 +58,7 @@
</el-table-column>
<el-table-column label="当前审批任务" align="center" prop="tasks">
<template slot-scope="scope">
<el-button v-for="task in scope.row.tasks" type="text" @click="handleFormDetail(task.id)">
<el-button v-for="task in scope.row.tasks" :key="task.id" type="text" @click="handleFormDetail(task.id)">
<span>{{ task.name }}</span>
</el-button>
</template>