From bff85d777d7eb1e362adce089a287fd9bc85c03c Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期四, 07 十二月 2023 15:11:00 +0800
Subject: [PATCH] 1.搅合站分辨率修改 2.拌和站屏管理添加材料改成input 3.巡检任务bug修改

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

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

--
Gitblit v1.9.3