zhuliu преди 9 месеца
родител
ревизия
87da207198
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/report/components/matter/addMatters.vue

+ 1 - 1
src/views/report/components/matter/addMatters.vue

@@ -243,7 +243,7 @@ export default {
     },
     submitForm1() {
       var list = this.validMatter()
-      if(list){
+      if(list && list.length>0){
         this.$api.addFollowUp(list).then(response => {
           if (response.code == 200) {
             this.btnLoading = false