Browse Source

修改病虫害保存 名字

master
马景富 2 years ago
parent
commit
e8ce76bdab
  1. 2
      pages/massif/add_farming.vue

2
pages/massif/add_farming.vue

@ -356,7 +356,7 @@ export default {
body:{
...this.formData,
images: this.fields.images.value,
farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.id).join(",")||''})
farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.name).join(",")||''})
}
})
if(res.statu){

Loading…
Cancel
Save