zhuliu 1 rok temu
rodzic
commit
2fe938b480
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/views/project/components/drawer/form.vue

+ 3 - 3
src/views/project/components/drawer/form.vue

@@ -433,12 +433,12 @@ export default {
       if(!val){
         this.ruleForm.scenarioIds = []
         this.show = false
-        this.$set(this.form,'matterIds',[])
+        this.$set(this.ruleForm,'matterIds',[])
         this.remoteEvent('')
         return 
       }
-      if(!this.form.matterIds){
-        this.$set(this.form,'matterIds',[])
+      if(!this.ruleForm.matterIds){
+        this.$set(this.ruleForm,'matterIds',[])
       }
       var obj = this.eventList.data.find(item=>{
         return item.id == val