diff --git a/src/views/modules/volunteer/VoluntaryOrganization/edit.vue b/src/views/modules/volunteer/VoluntaryOrganization/edit.vue index 4c9736d76..d950c2f65 100644 --- a/src/views/modules/volunteer/VoluntaryOrganization/edit.vue +++ b/src/views/modules/volunteer/VoluntaryOrganization/edit.vue @@ -186,13 +186,13 @@ components: { Tinymce, UploadImage }, props: { VolunteerList: { - type: Array, - default: [] - }, + type: Object, + default: () => {} + } + }, mounted() { console.log(this.VolunteerList,"this.VolunteerList"); - this.formData=this.VolunteerList this.activityType() this.listServerOrg() }, diff --git a/src/views/modules/volunteer/VoluntaryOrganization/index.vue b/src/views/modules/volunteer/VoluntaryOrganization/index.vue index f9db514d0..5eb72611f 100644 --- a/src/views/modules/volunteer/VoluntaryOrganization/index.vue +++ b/src/views/modules/volunteer/VoluntaryOrganization/index.vue @@ -99,7 +99,7 @@ - + @@ -424,7 +424,7 @@ export default { handleEdit(row){ this.showEdit=true, this.EditList=row - console.log(row,this.fmData,"row"); + console.log(row,this.EditList,"row"); }, //关闭修改 showEditClose(){