diff --git a/components/HiddenInfo/gwj/index.js b/components/HiddenInfo/gwj/index.js index 4c6513e..296e5a8 100644 --- a/components/HiddenInfo/gwj/index.js +++ b/components/HiddenInfo/gwj/index.js @@ -79,7 +79,7 @@ function HiddenInfo(props) { if (info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0) { const inspectionAcceptImageFiles = await getFile({ eqType: UPLOAD_FILE_TYPE_ENUM["146"], - eqForeignKey: info.hiddenInspecCO.foreignKey, + eqForeignKey: hiddenId || query[hiddenIdKey], }); setInspectionAcceptImageFiles(inspectionAcceptImageFiles); }