diff --git a/pages/massif/pestRecord.vue b/pages/massif/pestRecord.vue index 224755d..9e72b86 100644 --- a/pages/massif/pestRecord.vue +++ b/pages/massif/pestRecord.vue @@ -72,6 +72,11 @@ export default { eventChannel:null, } }, + watch:{ + "formData.pestType"(){ + this.formData.pestName='' + }, + }, onLoad(){ this.eventChannel=this.getOpenerEventChannel() this.eventChannel.on("detail",e=>{