Browse Source

切换病虫害类型 清空病虫害名称

master
邓宏 2 years ago
parent
commit
942a8fefea
  1. 5
      pages/massif/pestRecord.vue

5
pages/massif/pestRecord.vue

@ -72,6 +72,11 @@ export default {
eventChannel:null, eventChannel:null,
} }
}, },
watch:{
"formData.pestType"(){
this.formData.pestName=''
},
},
onLoad(){ onLoad(){
this.eventChannel=this.getOpenerEventChannel() this.eventChannel=this.getOpenerEventChannel()
this.eventChannel.on("detail",e=>{ this.eventChannel.on("detail",e=>{

Loading…
Cancel
Save