JX.Li 1 anno fa
parent
commit
f669b45223
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/components/ConstructionDetails/index.vue

+ 4 - 0
src/components/ConstructionDetails/index.vue

@@ -1129,6 +1129,10 @@ export default {
       console.log(this.currentCollapses)
       console.log('checkList')
       console.log(this.checkList)
+      if (this.checkList.length==0){
+        this.$message.warning("请选择需要修改的施工信息")
+        return
+      }
       const intersection = this.currentCollapses.filter(value => this.checkList.includes(value.id));
       this.$emit('updateNodeOption',intersection)
     },