hbchen 1 年之前
父節點
當前提交
981a73cdc8
共有 1 個文件被更改,包括 1 次插入3 次删除
  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){
           if(emptyFolders.length == this.tableSelection.length){
             downloadHint.close()
             downloadHint.close()
             this.$refs.tableRef.clearSelection()
             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)
         },0)
         let downNumber = 0
         let downNumber = 0
         let selectLength = this.tableSelection.length-emptyFolders.length
         let selectLength = this.tableSelection.length-emptyFolders.length