From d2db97aec62ef8a567f2f61eda1c5b7a6f95dc4b Mon Sep 17 00:00:00 2001
From: 张晓波 <bingbo1993@126.com>
Date: 星期二, 05 十二月 2023 16:43:47 +0800
Subject: [PATCH] 人脸 缓存同步菜单

---
 web/src/components/uploadPhoto.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/web/src/components/uploadPhoto.vue b/web/src/components/uploadPhoto.vue
index 69c2bcc..4c539ae 100644
--- a/web/src/components/uploadPhoto.vue
+++ b/web/src/components/uploadPhoto.vue
@@ -111,7 +111,8 @@
         this.$message.warning("仅能上传一张人脸图像!");
         return false;
       }
-      if (file.size > (1024)) {
+      console.log(file.size,'size???')
+      if (file.size > (1024 * 1024)) {
         this.$message.warning("请上传小于1m的照片!!!");
         return false;
       }

--
Gitblit v1.9.3