src/views/safeProduction/safeWorkApproval/fileList.vue
@@ -6,7 +6,7 @@ <template #default="scope"> <el-button link type="primary" size="small" @click="downLoadFile(scope.row)">下载</el-button> <el-button link type="primary" size="small" @click="lookFile(scope.row)">预览</el-button> <el-button link type="danger" size="small" @click="handleDelete(scope.row)">删除</el-button> <el-button link type="danger" size="small" @click="handleDelete(scope.row)" v-hasPermi="['safeProduction:safeWorkApproval:remove']">删除</el-button> </template> </el-table-column> </el-table>