hbchen 1 year ago
parent
commit
981a73cdc8
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/report_manage/cloudDisk.vue

+ 1 - 3
src/views/report_manage/cloudDisk.vue

@@ -507,10 +507,8 @@ import 'streamsaver/examples/zip-stream'
           if(emptyFolders.length == this.tableSelection.length){
             downloadHint.close()
             this.$refs.tableRef.clearSelection()
-            return this.$message.warning("文件夹为空,暂不支持下载")
-          }else{
-            this.$message.warning(`【${emptyFolders.map(it => it.ItemName).join('、')}】文件夹为空,暂不支持下载`)
           }
+          this.$message.warning(`【${emptyFolders.map(it => it.ItemName).join('、')}】文件夹为空,暂不支持下载`)
         },0)
         let downNumber = 0
         let selectLength = this.tableSelection.length-emptyFolders.length