|
|
@ -168,12 +168,14 @@ export default { |
|
|
|
this.dataForm.principalId = partyOrgInfo.principalId; |
|
|
|
console.log(this.principals) |
|
|
|
console.log(this.dataForm.principalId ) |
|
|
|
this.$nextTick(()=>{ |
|
|
|
if (!map) { |
|
|
|
this.initMap(this.dataForm.latitude, this.dataForm.longitude); |
|
|
|
} else { |
|
|
|
map.setCenter(this.dataForm.latitude, this.dataForm.longitude); |
|
|
|
map.setMarker(this.dataForm.latitude, this.dataForm.longitude); |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 初始化地图 |
|
|
|