liu85600613 3 years ago
parent
commit
f61c06a1c9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      ui/src/views/sems/specanalysis/index.vue

+ 5 - 0
ui/src/views/sems/specanalysis/index.vue

@@ -450,6 +450,11 @@ export default {
       if (this.plantIds.length == 0) {
         this.plantIds = ['']
       }
+      val.forEach((item,index)=>{
+        if(item===''){
+          val.splice(index,1)
+        }
+      })
       if (val.length === this.plantList.length) {
         this.checked = true
       } else {