Forráskód Böngészése

change: indent计价pdf导出.图片裁切调整至1000_1000

peter 6 napja
szülő
commit
08ce5a342a

+ 2 - 2
src/pages/indent-manage/indent/components/exportQuota2.vue

@@ -448,7 +448,7 @@ const mainPicture2 = computed(() => {
     Array.isArray(productInfo.product_image) &&
     productInfo.product_image.length
   ) {
-    return sliceImage(productInfo.product_image[0], 600)
+    return sliceImage(productInfo.product_image[0], 1000)
   }
   return ''
 })
@@ -468,7 +468,7 @@ const otherPicture2 = computed(() => {
   ) {
     return productInfo.product_image
       .slice(1)
-      .map((i: string) => sliceImage(i, 500))
+      .map((i: string) => sliceImage(i, 1000))
   }
   return []
 })