|
@@ -29,37 +29,37 @@ function MapTab(props: MapTabProps) {
|
|
|
{item.name}
|
|
|
</div>
|
|
|
))
|
|
|
- },
|
|
|
- {
|
|
|
- key: '2',
|
|
|
- label: '亲属',
|
|
|
- children: props.relativeList[cityName]?.map((item, index) => (
|
|
|
- <div
|
|
|
- className='text'
|
|
|
- onClick={() =>
|
|
|
- props.handleItemClick(props.cityId, item.martyrName, item.martyrId)
|
|
|
- }
|
|
|
- key={index}
|
|
|
- >
|
|
|
- {item.name}
|
|
|
- </div>
|
|
|
- )) || <div>暂无</div>
|
|
|
- },
|
|
|
- {
|
|
|
- key: '3',
|
|
|
- label: '线索',
|
|
|
- children: props.clueList[cityName]?.map((item, index) => (
|
|
|
- <div
|
|
|
- className='text'
|
|
|
- onClick={() =>
|
|
|
- props.handleItemClick(props.cityId, item.martyrName, item.martyrId)
|
|
|
- }
|
|
|
- key={index}
|
|
|
- >
|
|
|
- {item.remark}
|
|
|
- </div>
|
|
|
- )) || <div>暂无</div>
|
|
|
}
|
|
|
+ // {
|
|
|
+ // key: '2',
|
|
|
+ // label: '亲属',
|
|
|
+ // children: props.relativeList[cityName]?.map((item, index) => (
|
|
|
+ // <div
|
|
|
+ // className='text'
|
|
|
+ // onClick={() =>
|
|
|
+ // props.handleItemClick(props.cityId, item.martyrName, item.martyrId)
|
|
|
+ // }
|
|
|
+ // key={index}
|
|
|
+ // >
|
|
|
+ // {item.name}
|
|
|
+ // </div>
|
|
|
+ // )) || <div>暂无</div>
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: '3',
|
|
|
+ // label: '线索',
|
|
|
+ // children: props.clueList[cityName]?.map((item, index) => (
|
|
|
+ // <div
|
|
|
+ // className='text'
|
|
|
+ // onClick={() =>
|
|
|
+ // props.handleItemClick(props.cityId, item.martyrName, item.martyrId)
|
|
|
+ // }
|
|
|
+ // key={index}
|
|
|
+ // >
|
|
|
+ // {item.remark}
|
|
|
+ // </div>
|
|
|
+ // )) || <div>暂无</div>
|
|
|
+ // }
|
|
|
]
|
|
|
|
|
|
const operations = (
|