优化HiddenInfo
parent
dc9a864546
commit
ef972153c6
|
|
@ -83,12 +83,12 @@ function HiddenInfo(props) {
|
|||
}
|
||||
}
|
||||
|
||||
if (info.hiddenAcceptUserCO && info.hiddenAcceptUserCO.length > 0) {
|
||||
for (let i = 0; i < info.hiddenAcceptUserCO.length; i++) {
|
||||
if (info.hiddenAcceptUserCO[i].hiddenUserId) {
|
||||
if (info.hiddenAcceptQualifiedUserCO && info.hiddenAcceptQualifiedUserCO.length > 0) {
|
||||
for (let i = 0; i < info.hiddenAcceptQualifiedUserCO.length; i++) {
|
||||
if (info.hiddenAcceptQualifiedUserCO[i].hiddenUserId) {
|
||||
const acceptImageFiles = await getFile({
|
||||
eqType: UPLOAD_FILE_TYPE_ENUM["5"],
|
||||
eqForeignKey: info.hiddenAcceptUserCO[i].hiddenUserId,
|
||||
eqForeignKey: info.hiddenAcceptQualifiedUserCO[i].hiddenUserId,
|
||||
});
|
||||
setAcceptImageFiles(prevState => [...prevState, acceptImageFiles]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue