zhuliu 1 rok pred
rodič
commit
23b2df22c2

+ 4 - 1
src/views/report/components/dialog/addAndEditReport.vue

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