Merge remote-tracking branch 'sedum/feat/allowgeoloc' into dev_geo
This commit is contained in:
@@ -137,7 +137,7 @@ export default {
|
||||
valid: false,
|
||||
openImportDialog: false,
|
||||
event: {
|
||||
place: { name: '', address: '' },
|
||||
place: { name: '', address: '', latitude: null, longitude: null },
|
||||
title: '',
|
||||
description: '',
|
||||
tags: [],
|
||||
@@ -217,8 +217,10 @@ export default {
|
||||
if (this.event.place.id) {
|
||||
formData.append('place_id', this.event.place.id)
|
||||
}
|
||||
formData.append('place_name', this.event.place.name)
|
||||
formData.append('place_name', this.event.place.name.trim())
|
||||
formData.append('place_address', this.event.place.address)
|
||||
formData.append('place_latitude', this.event.place.latitude)
|
||||
formData.append('place_longitude', this.event.place.longitude)
|
||||
formData.append('description', this.event.description)
|
||||
formData.append('multidate', !!this.date.multidate)
|
||||
let [hour, minute] = this.date.fromHour.split(':')
|
||||
|
||||
Reference in New Issue
Block a user