zhengyiming
5 天以前 9e975eee3ebe9cc133435ca3fb2dbf8458efc748
apps/cMiniApp/src/subpackages/city/citySelect/citySelect.vue
@@ -54,17 +54,14 @@
      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);
};