bug
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<div class="textarea-div pad-b208">
|
||||
<div class="title mar-b32"><span></span>图片(最多9张)</div>
|
||||
<div class="pad-l20">
|
||||
<AiUploader :limit="9" v-model="form.images"></AiUploader>
|
||||
<AiUploader :def.sync="form.images" multiple placeholder="上传图片" :limit="9"></AiUploader>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-btn">
|
||||
@@ -39,6 +39,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
console.log(o)
|
||||
this.id = o.id || ''
|
||||
},
|
||||
methods: {
|
||||
@@ -60,10 +61,10 @@ export default {
|
||||
this.$http
|
||||
.post(`/app/appvillageactivitypost/addOrUpdate`, {
|
||||
content: this.form.content,
|
||||
avatar: this.user.avatarUrl,
|
||||
name: this.user.realName,
|
||||
avatar: this.user.avatar,
|
||||
name: this.user.name,
|
||||
phone: this.user.phone ? this.user.phone : '',
|
||||
userId: this.user.partyId,
|
||||
userId: this.user.id,
|
||||
activityId: this.id,
|
||||
images: JSON.stringify(imagesList),
|
||||
})
|
||||
@@ -71,8 +72,8 @@ export default {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('发布成功')
|
||||
this.flag = false
|
||||
uni.$emit('refresh')
|
||||
uni.navigateBack()
|
||||
uni.$emit('refresh')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user