From 56b5858c4730b1b8c1f65cec5c7b79ee4db17dd3 Mon Sep 17 00:00:00 2001 From: 李旭东 <woaiguo66@sina.com> Date: 星期二, 21 十一月 2023 16:58:18 +0800 Subject: [PATCH] 人脸识别上传修改 --- web/src/components/uploadPhoto.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/uploadPhoto.vue b/web/src/components/uploadPhoto.vue index ccec7d6..69c2bcc 100644 --- a/web/src/components/uploadPhoto.vue +++ b/web/src/components/uploadPhoto.vue @@ -111,8 +111,8 @@ this.$message.warning("仅能上传一张人脸图像!"); return false; } - if (file.size > (200 / 1024)) { - this.$message.warning("请上传小于200KB的照片!!!"); + if (file.size > (1024)) { + this.$message.warning("请上传小于1m的照片!!!"); return false; } }, -- Gitblit v1.9.3