Browse Source

비행계획서 버그 수정 (최종본)

pull/2/head
이학준 2 years ago
parent
commit
26e5c69511
  1. 7
      src/containers/basis/flight/plan/FlightPlanDetailContainer.js

7
src/containers/basis/flight/plan/FlightPlanDetailContainer.js

@ -68,8 +68,7 @@ const FlightPlanDetailContainer = () => {
console.log(pilotList);
if(p.cstmrSno === 0) {
pilotList[i] = pilot
} else {
} else if(i == 0){
return pilotList.push(pilot);
}
});
@ -108,6 +107,7 @@ const FlightPlanDetailContainer = () => {
return false;
}
}
console.log(p);
});
if(checking){
@ -115,7 +115,7 @@ const FlightPlanDetailContainer = () => {
console.log('>>>>>>>>>>', arcrftList);
if(p.arcrftSno === 0){
arcrftList[i] = arcrft
} else {
} else if(i == 0){
return arcrftList.push(arcrft);
}
});
@ -342,7 +342,6 @@ const FlightPlanDetailContainer = () => {
}
}
else {
debugger
return {
...prevState,
[arrName]: id

Loading…
Cancel
Save