| | |
| | | list: cityGroups[key].map((x) => ({ |
| | | name: x.areaName, |
| | | id: x.areaCode, |
| | | parentId: x.parentId, |
| | | parentId: x.parentCode, |
| | | })), |
| | | }); |
| | | } |
| | | return _elevatorData; |
| | | }); |
| | | |
| | | console.log('elevatorData: ', elevatorData); |
| | | |
| | | const clickItem = (key: string, item: any) => { |
| | | console.log('item: ', item, getAreaByAreaCode(item.parentId).areaName); |
| | | userStore.setLocationCity(item.name, getAreaByAreaCode(item.parentId).areaName); |
| | | console.log('item: ', item, 1111); |
| | | // userStore.setLocationCity(item.name, getAreaByAreaCode(item.parentId).areaName); |
| | | }; |
| | | |
| | | async function resetLocation() { |