From 7af2d33d8fda6af451b0873a8f642c3cf7686136 Mon Sep 17 00:00:00 2001
From: 邱宇豪 <qyh123230312>
Date: 星期三, 29 十一月 2023 16:21:49 +0800
Subject: [PATCH] 20231129_qiuyh_解决钢筋笼生产查询问题、新加钢筋笼材料标示牌、调整区域打卡

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

diff --git a/web/src/components/uploadPhoto.vue b/web/src/components/uploadPhoto.vue
index 30c9106..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;
       }
     },
@@ -142,7 +143,7 @@
             this.fileList.push({
               id: this.fileList.length + 1,
               // url:`${process.env.VUE_APP_BASE_URL}${res.data}`,
-              url: `https://pipe.thhy-tj.com/${res.data}`,
+              url: `https://szpipe.thhy-tj.com/${res.data}`,
               name: res.data,
               nameImg: file.file.name,
             });

--
Gitblit v1.9.3