|
@ -271,8 +271,8 @@ export default { |
|
|
linkman:"", |
|
|
linkman:"", |
|
|
linkMobile:"", |
|
|
linkMobile:"", |
|
|
address:"", |
|
|
address:"", |
|
|
longitude: this.$store.state.user.longitude, //经度 |
|
|
longitude:'', //经度 |
|
|
latitude: this.$store.state.user.latitude,//纬度 |
|
|
latitude: '',//纬度 |
|
|
type:"", |
|
|
type:"", |
|
|
online:0, |
|
|
online:0, |
|
|
sponsors:[{ |
|
|
sponsors:[{ |
|
@ -337,12 +337,18 @@ export default { |
|
|
this.formData.notQuota=1 |
|
|
this.formData.notQuota=1 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
console.log( this.formData.quota); |
|
|
// console.log( this.formData.quota); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { fileList,Tinymce,UploadImage}, |
|
|
components: { fileList,Tinymce,UploadImage}, |
|
|
mounted () { |
|
|
mounted () { |
|
|
|
|
|
console.log(this.formData.latitude); |
|
|
|
|
|
|
|
|
|
|
|
if (!this.formData.latitude || this.formData.latitude == "" || this.formData.latitude == "0") { |
|
|
|
|
|
this.formData.latitude = 39.9088810666821; |
|
|
|
|
|
this.formData.longitude = 116.39743841556731; |
|
|
|
|
|
} |
|
|
// this.startLoading() |
|
|
// this.startLoading() |
|
|
// await this.loadInfo() |
|
|
// await this.loadInfo() |
|
|
// this.endLoading() |
|
|
// this.endLoading() |
|
|