emit data from destCard to Home
This commit is contained in:
parent
19ba190ced
commit
cea70a1d42
2 changed files with 8 additions and 1 deletions
|
@ -282,6 +282,7 @@ export default {
|
|||
lon: position.coords.longitude
|
||||
};
|
||||
console.log('User Location:', this.userLocation);
|
||||
this.$emit('updateLocation', this.userLocation);
|
||||
},
|
||||
handleLocationError(error) {
|
||||
console.error('Error getting location:', error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue