시도, 시군구 코드 명 반영
This commit is contained in:
@@ -24,10 +24,10 @@ export const getCity = (val: string, sggCd: SelectDataType[]) => {
|
||||
return data?.map((item: { sggCd: string; ctpvCd: string; reuseBuilding: { lawTrgtYn: any , bdstUsgCd:any}[]; }) => {
|
||||
let returnData = {};
|
||||
const sggText = chCode.sggCd.find(
|
||||
(cd) => cd.val === item.sggCd
|
||||
(cd) => cd.val === String(item.sggCd)
|
||||
)?.text;
|
||||
const cityText = chCode.cityCd.find(
|
||||
(cd) => cd.val === item.ctpvCd
|
||||
(cd) => cd.val === String(item.ctpvCd)
|
||||
)?.text;
|
||||
|
||||
if (item?.reuseBuilding?.length >0) {
|
||||
|
||||
Reference in New Issue
Block a user