diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/index.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/index.vue index 10e29afb..f8586ea6 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/index.vue +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/productManagement/index.vue @@ -56,8 +56,9 @@ const gridOptions: VxeGridProps = { try { // 批量获取图片URL const imgUrls = await ossInfo(imgPaths); + const urlMap = new Map( - imgUrls.map((item) => [item.fileName, item.url]), + imgUrls.map((item) => [item.ossId, item.url]), ); // 将URL映射回数据行