선택 오류 변경
This commit is contained in:
@@ -307,7 +307,6 @@ export const rainFacActionsExport: (set: any) => rainFacSActions = (
|
||||
console.log("e", e);
|
||||
alert("등록 오류입니다.");
|
||||
} finally {
|
||||
alert("등록이 완료되었습니다.");
|
||||
}
|
||||
},
|
||||
rainUpdate: async (data: RainyBuilding) => {
|
||||
|
||||
@@ -70,12 +70,14 @@ export function RainRegForm({
|
||||
...rb?.rainyObj,
|
||||
...data.reuseBuilding?.at(0),
|
||||
pntfColKnd: selectedOption ? String(selectedOption.val) : undefined,
|
||||
frstArchPrmsnDt: new Date(data.frstArchPrmsnDt)
|
||||
frstArchPrmsnDt: new Date(data.frstArchPrmsnDt ||null)
|
||||
|
||||
};
|
||||
form.reset(formData);
|
||||
} else {
|
||||
formData = {
|
||||
...data
|
||||
...data,
|
||||
frstArchPrmsnDt: new Date(data.frstArchPrmsnDt||null)
|
||||
};
|
||||
|
||||
form.reset(formData);
|
||||
|
||||
Reference in New Issue
Block a user