|
@@ -219,10 +219,11 @@ const onSearch = (val) => {
|
|
|
};
|
|
|
const hanleItem = async (item) => {
|
|
|
let res = item
|
|
|
+ console.log("hanleItem", item);
|
|
|
if(item.location) {
|
|
|
res.lng = item.location.split(",")[0];
|
|
|
res.lat = item.location.split(",")[1];
|
|
|
- res.name = item.formatted_address
|
|
|
+ res.name = res.name || item.formatted_address
|
|
|
}else{
|
|
|
let ress = await getTipsNames(item.name);
|
|
|
res = ress.data;
|