From 3791e03514c84c3d1eb341cee465580251fe4bb2 Mon Sep 17 00:00:00 2001 From: cl Date: Thu, 22 Apr 2021 17:55:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0-=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4v/src/components/file-upload/index.vue | 2 +- mall4v/src/components/pic-upload/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mall4v/src/components/file-upload/index.vue b/mall4v/src/components/file-upload/index.vue index 8cf2cfc..8584ba4 100644 --- a/mall4v/src/components/file-upload/index.vue +++ b/mall4v/src/components/file-upload/index.vue @@ -51,7 +51,7 @@ beforeAvatarUpload (file) { const isLt2M = file.size / 1024 / 1024 < 2 if (!isLt2M) { - this.$message.error('上传头像图片大小不能超过 2MB!') + this.$message.error('上传图片大小不能超过 2MB!') } return isLt2M }, diff --git a/mall4v/src/components/pic-upload/index.vue b/mall4v/src/components/pic-upload/index.vue index 3680c2f..53d5de3 100644 --- a/mall4v/src/components/pic-upload/index.vue +++ b/mall4v/src/components/pic-upload/index.vue @@ -35,7 +35,7 @@ beforeAvatarUpload (file) { const isLt2M = file.size / 1024 / 1024 < 2 if (!isLt2M) { - this.$message.error('上传头像图片大小不能超过 2MB!') + this.$message.error('上传图片大小不能超过 2MB!') } return isLt2M }