fix: 게시판 관리 - 삭제 반영

main
minuk926 3 years ago
parent 986cf52718
commit 18b8c42b0a

@ -130,9 +130,13 @@ const Board = () => {
}); // .then((res) => {
break;
case 'DELETE':
removeBoard(payload).then(() => {
removeBoard(payload).then((res) => {
if (res?.success) {
search();
setOpen(false);
} else {
alert.show(`${res?.data.message}`);
}
}); // .then((res) => {
break;
default:

@ -319,15 +319,7 @@ const JudgeDataModifyForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSav
/>
</Grid>
<Grid item sm={7}>
<TextField
size="small"
required
label="주소"
fullWidth
value={scJuso}
onChange={(e) => setScJuso(e?.target?.value)}
InputProps={{ readOnly: true }}
/>
<TextField size="small" required disabled label="주소" fullWidth value={scJuso} onChange={(e) => setScJuso(e?.target?.value)} />
</Grid>
<Grid item sm={3.3}>
<TextField size="small" required label="번지" fullWidth value={scBunji} onChange={(e) => setScBunji(e?.target?.value)} />

@ -210,7 +210,7 @@ const JudgeDataNewForm = ({ scDatagb, contDocs, ingbs, handleModalSave }) => {
fullWidth
required
label="우편번호"
value={zipcode1}
value={zipcode1 ?? ''}
onChange={(e) => setZipcode1(e?.target?.value)}
onClick={openPostCode}
InputProps={{

Loading…
Cancel
Save