邱宇豪
2023-11-22 36d430922c4a6f4c77db56e74a7ccee9a7af06a5
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;
      }
    },
@@ -142,7 +142,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,
            });