diff --git a/project/fengdu/app/AppIntegratingPublic/components/Add.vue b/project/fengdu/app/AppIntegratingPublic/components/Add.vue index 94121857..39c90c06 100644 --- a/project/fengdu/app/AppIntegratingPublic/components/Add.vue +++ b/project/fengdu/app/AppIntegratingPublic/components/Add.vue @@ -75,7 +75,10 @@ getInfo (id) { this.instance.post(`/app/appintegralpublicityinfo/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { - this.form = res.data + this.form = { + ...res.data, + girdId: [res.data.girdId] + } } }) }, @@ -110,7 +113,7 @@ if (e.length) { this.form.girdName = e[0].girdName } else { - this.form.girdId = '' + this.form.girdId = [] this.form.girdName = '' } }