7.26(
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
uni.showLoading({
|
||||
title: '发布中...'
|
||||
});
|
||||
const city = uni.getStorageSync('current_city');
|
||||
let obj = {
|
||||
content: this.content,
|
||||
image: this.picList.join(','),
|
||||
@@ -104,7 +105,7 @@
|
||||
cover: this.videoImage,
|
||||
wide: this.videoInfo.width,
|
||||
high: this.videoInfo.height,
|
||||
city:this.city,
|
||||
city:city,
|
||||
}
|
||||
// console.log(obj);
|
||||
plazaNoteAdd(obj).then(res => {
|
||||
@@ -183,16 +184,16 @@
|
||||
this.issueType = options.issueType
|
||||
this.mobileType = uni.getStorageSync('appDetail')
|
||||
|
||||
uni.getLocation({
|
||||
type: 'gcj02',
|
||||
geocode: true,
|
||||
success: res => {
|
||||
this.city=res.address.city
|
||||
},
|
||||
fail: err => {
|
||||
// console.log('报错', err);
|
||||
}
|
||||
})
|
||||
// uni.getLocation({
|
||||
// type: 'gcj02',
|
||||
// geocode: true,
|
||||
// success: res => {
|
||||
// this.city=res.address.city
|
||||
// },
|
||||
// fail: err => {
|
||||
// // console.log('报错', err);
|
||||
// }
|
||||
// })
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user