This commit is contained in:
yanran200730
2023-04-19 13:57:53 +08:00
parent 4b99f2768f
commit 33695de84f

View File

@@ -75,7 +75,10 @@
getInfo (id) { getInfo (id) {
this.instance.post(`/app/appintegralpublicityinfo/queryDetailById?id=${id}`).then(res => { this.instance.post(`/app/appintegralpublicityinfo/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.form = res.data this.form = {
...res.data,
girdId: [res.data.girdId]
}
} }
}) })
}, },
@@ -110,7 +113,7 @@
if (e.length) { if (e.length) {
this.form.girdName = e[0].girdName this.form.girdName = e[0].girdName
} else { } else {
this.form.girdId = '' this.form.girdId = []
this.form.girdName = '' this.form.girdName = ''
} }
} }