Compare commits
No commits in common. "2e6fef951c6df92189aec303123c322e55c4ff47" and "aafa5f59486a002a77a440b5ca93b9753d0076cd" have entirely different histories.
2e6fef951c
...
aafa5f5948
@ -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)
|
||||
form.setValue('prefName', info.address1)
|
||||
}
|
||||
})
|
||||
|
||||
//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