Browse Source

change: indent计价导出.pdf图片分辨率优化.

peter 1 week ago
parent
commit
4b65d11abc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/indent-manage/indent/components/exportQuota2.vue

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

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