From 5bed73cadc7e9a286323f130b09b0418ba5dab7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Thu, 30 Mar 2023 14:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=B4=A8=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=99=90=E5=88=B63m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/purchase/cert/supCertAddDialog.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/purchase/cert/supCertAddDialog.vue b/src/views/purchase/cert/supCertAddDialog.vue index eba84af..8b5a508 100644 --- a/src/views/purchase/cert/supCertAddDialog.vue +++ b/src/views/purchase/cert/supCertAddDialog.vue @@ -124,7 +124,7 @@ {{ choiceFile }} -
只能上传 jpg,png,pdf,doc 文件,且不超过 10 MB
+
只能上传 jpg,png,pdf,doc 文件,且不超过 3 MB
@@ -318,9 +318,9 @@ export default { return; } // 限制上传文件的大小 - const isLt = file.size / 1024 / 1024 / 30 <= 1; + const isLt = file.size / 1024 / 1024 / 3 <= 1; if (!isLt) { - this.$message.error("上传文件大小不能超过 30MB"); + this.$message.error("上传文件大小不能超过 3MB"); for (let i = 0; i < fileList.length; i++) { if (fileList[i].uid === uid) { fileList.splice(i, 1)