diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index d3d1427..aea5b5b 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -360,9 +360,9 @@ export default { }else if(/^施肥$|^用药$/.test(this.formData.farmingType) && this.formData.inputList.length<=0){ uni.showToast({title:"请添加农资!",icon:"none"}) return false - }else if(/^用药$/.test(this.formData.farmingType) && !this.formData.farmPests){ - uni.showToast({title:"请添加病虫害记录!",icon:"none"}) - return false + // }else if(/^用药$/.test(this.formData.farmingType) && !this.formData.farmPests){ + // uni.showToast({title:"请添加病虫害记录!",icon:"none"}) + // return false } return true },