|
@ -242,8 +242,8 @@ export default { |
|
|
data : this.cityManagement |
|
|
data : this.cityManagement |
|
|
} |
|
|
} |
|
|
this.formData = { ...data } |
|
|
this.formData = { ...data } |
|
|
const lat = this.formData.latitude === null || this.formData.latitude === '' ? '36.06203' : this.formData.latitude; |
|
|
const lat = this.formData.latitude === null || this.formData.latitude === '' ? '' : this.formData.latitude; |
|
|
const lon = this.formData.longitude === null || this.formData.longitude === '' ? '120.38494' : this.formData.longitude; |
|
|
const lon = this.formData.longitude === null || this.formData.longitude === '' ? '' : this.formData.longitude; |
|
|
map.setCenter(new TMap.LatLng(lat,lon)) |
|
|
map.setCenter(new TMap.LatLng(lat,lon)) |
|
|
this.setMarker(lat,lon) |
|
|
this.setMarker(lat,lon) |
|
|
} else { |
|
|
} else { |
|
|