From c32e22ac80e28b59d78002577540b060b66e937e Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 20 Dec 2021 17:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BB=E6=9D=91=E8=BE=85=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/3.0.0/AppVillageAuxiliarPolice/components/Add.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/3.0.0/AppVillageAuxiliarPolice/components/Add.vue b/packages/3.0.0/AppVillageAuxiliarPolice/components/Add.vue index 392c1ce0..488a62d8 100644 --- a/packages/3.0.0/AppVillageAuxiliarPolice/components/Add.vue +++ b/packages/3.0.0/AppVillageAuxiliarPolice/components/Add.vue @@ -115,7 +115,7 @@ this.instance.post(`/app/appvillageauxiliarypolice/addOrUpdate`, { ...this.form, id: this.params.id || '', - picture: this.form.picture ? this.form.picture[0].url : '' + picture: this.form.picture.length ? this.form.picture[0].url : '' }).then(res => { if (res.code == 0) { this.$message.success('提亀成功')