From 51f8c33f0d35a336ae859e8c70d1b4c26cf10859 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 19 Mar 2024 16:02:42 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=9A=E8=AE=AE=E7=BA=AA=E8=A6=81?= =?UTF-8?q?=E5=92=8C=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=96=87=E4=BB=B6=E5=8F=AF=E5=AF=BC=E5=87=BA=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meetManage/modules/UploadMeetFileModal.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/incomePayments/meetManage/modules/UploadMeetFileModal.vue b/src/views/incomePayments/meetManage/modules/UploadMeetFileModal.vue index 7e42cf3..bc532d8 100644 --- a/src/views/incomePayments/meetManage/modules/UploadMeetFileModal.vue +++ b/src/views/incomePayments/meetManage/modules/UploadMeetFileModal.vue @@ -340,6 +340,11 @@ export default { }, // 导出zip handleExportZip () { + // 如果列表中没有数据,就提示 + if (this.fileList.length === 0) { + this.$message.warning('暂无可导出文件') + return + } // 有勾选就导出勾选,没有勾选就导出所有 const ids = this.selectedRowKeys.length ? this.selectedRowKeys.join(',') : this.fileList.map(item => item.id).join(',') downloadFileZip('sys/common/zipDownload', this.title + '.zip', {