diff --git a/pages/projectInfo/projectInfo.vue b/pages/projectInfo/projectInfo.vue index 57223d7..c605083 100644 --- a/pages/projectInfo/projectInfo.vue +++ b/pages/projectInfo/projectInfo.vue @@ -95,7 +95,7 @@ 用工单位地址:{{info.companyAddress || '暂无'}} --> - 工作地址:{{info.jobAddress || '暂无'}} + 工作地址:{{info.cityId || '暂无'}} 详细地址:{{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;