积分审核
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
auditStatus: ''
|
||||
},
|
||||
eventForm: {
|
||||
files: [],
|
||||
files: null,
|
||||
images: [],
|
||||
videos: [],
|
||||
content: '',
|
||||
@@ -188,12 +188,16 @@
|
||||
},
|
||||
|
||||
onEventConfirm () {
|
||||
if ((this.eventForm.images.length + this.eventForm.videos.length) > 9) {
|
||||
return this.$message.error('图片和视频不得超过9个')
|
||||
} else {
|
||||
this.eventForm.files = [...this.eventForm.images,...this.eventForm.videos]
|
||||
}
|
||||
this.$refs.eventForm.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, {
|
||||
...this.eventForm,
|
||||
id: this.params.id,
|
||||
files: [...this.eventForm.images, this.eventForm.videos]
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('编辑成功!')
|
||||
|
||||
Reference in New Issue
Block a user