驻村辅警

This commit is contained in:
yanran200730
2021-12-20 17:52:17 +08:00
parent 931eca4fb3
commit c32e22ac80

View File

@@ -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('提交成功')