flat: 搜索

This commit is contained in:
Apcallover
2024-05-08 11:32:00 +08:00
parent 3d985542ba
commit dc5a3702a9

View File

@@ -95,7 +95,7 @@
用工单位地址{{info.companyAddress || '暂无'}}
</view> -->
<view class="prolist">
工作地址{{info.jobAddress || '暂无'}}
工作地址{{info.cityId || '暂无'}}
</view>
<view class="prolist">
详细地址{{info.address || '暂无'}}
@@ -323,10 +323,10 @@
smart_address: res.data.data.address
}).then((result) => {
console.log('result', result)
self.latitude = result.location.lat;
self.longitude = result.location.lon;
self.covers[0].latitude = result.location.lat;
self.covers[0].longitude = result.location.lon;
self.latitude = result.lat;
self.longitude = result.lon;
self.covers[0].latitude = result.lat;
self.covers[0].longitude = result.lon;
})
// self.latitude = self.info.lat;
// self.longitude = self.info.lon;