优化HiddenInfo
parent
a9f527f870
commit
e2c41e91ce
|
|
@ -79,7 +79,7 @@ function HiddenInfo(props) {
|
||||||
if (info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0) {
|
if (info.hiddenInspecCO && Object.keys(info.hiddenInspecCO).length > 0) {
|
||||||
const inspectionAcceptImageFiles = await getFile({
|
const inspectionAcceptImageFiles = await getFile({
|
||||||
eqType: UPLOAD_FILE_TYPE_ENUM["146"],
|
eqType: UPLOAD_FILE_TYPE_ENUM["146"],
|
||||||
eqForeignKey: info.hiddenInspecCO.foreignKey,
|
eqForeignKey: hiddenId || query[hiddenIdKey],
|
||||||
});
|
});
|
||||||
setInspectionAcceptImageFiles(inspectionAcceptImageFiles);
|
setInspectionAcceptImageFiles(inspectionAcceptImageFiles);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue