Compare commits
No commits in common. "51c0519ac58b445ab67a5da16c696646cc563a37" and "54d4769f940e283c5c59b5fb0670084b84de0912" have entirely different histories.
51c0519ac5
...
54d4769f94
@ -952,18 +952,9 @@ export default function StuffDetail() {
|
||||
|
||||
//팝업에서 넘어온 우편정보
|
||||
const setZipInfo = (info) => {
|
||||
|
||||
prefCodeList.map((row) => {
|
||||
if (row.prefName == info.address1) {
|
||||
setPrefValue(row.prefId)
|
||||
form.setValue('prefId', row.prefId)
|
||||
setPrefValue(info.prefId)
|
||||
form.setValue('prefId', info.prefId)
|
||||
form.setValue('prefName', info.address1)
|
||||
}
|
||||
})
|
||||
|
||||
//setPrefValue(info.prefId)
|
||||
// form.setValue('prefId', info.prefId)
|
||||
// form.setValue('prefName', info.address1)
|
||||
form.setValue('address', info.address2 + info.address3)
|
||||
form.setValue('zipNo', info.zipNo)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user