shuhao il y a 2 semaines
Parent
commit
3c82c51e38

+ 1 - 0
src/views/home/album_compoents/albumCarousel.vue

@@ -120,6 +120,7 @@ const qualityBox = ref([
     { id: 7, name: "地形条件", value: "" },
 ]);
 eventBus.on("click:point",function({farmId,sampleId, data}){
+  sampleId = data.id;
     isLoadingImg.value = true
   let params = {sampleId,farmId}
       dialogVisible.value = true

+ 1 - 1
src/views/home/album_compoents/albumDrawBox.vue

@@ -22,7 +22,7 @@ import {imageCache,loadImage} from "./cacheImg.js"
 import {dateFormat} from "@/utils/date_util.js"
 import {pointToFormat} from "@/utils/util.js"
 import {drawTextInRect, drawBorderImageInRect, drawImageInRect, drawRectInRect, drawHorizontalTextList, drawTargetRectangles} from "./utils"
-const resize = "?x-oss-process=image/resize,p_120/format,webp/quality,q_100";
+const resize = "?x-oss-process=image/resize,p_50/format,webp/quality,q_50";
 const canvasRef = ref(null);
 const watermark = ref(null)
 const baseMapBig = ref(false)