|
|
@ -570,15 +570,13 @@ export default { |
|
|
|
...this.fmData, |
|
|
|
...data, |
|
|
|
}; |
|
|
|
console.log("------------------------------------info", this.fmData); |
|
|
|
|
|
|
|
await nextTick(800); |
|
|
|
await nextTick(600); |
|
|
|
if (map) { |
|
|
|
if (data.latitude) { |
|
|
|
map.setCenter(new TMap.LatLng(data.latitude, data.longitude)); |
|
|
|
} else { |
|
|
|
if (this.$refs && this.$refs.mapSearch) { |
|
|
|
console.log(this.$refs.mapSearch[0].handleClick); |
|
|
|
if (this.formType == "edit" && this.$refs && this.$refs.mapSearch) { |
|
|
|
this.$refs.mapSearch[0].handleClick(); |
|
|
|
} |
|
|
|
} |
|
|
|