From 0bd9d71f6ecebd9a87da9a17620567a86dc72c85 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 19 Oct 2023 15:59:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B0=81=E9=9D=A2=E5=9B=BE?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=B8=85=E6=99=B0=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/notion/mapImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notion/mapImage.js b/lib/notion/mapImage.js index 8d7f9fba..f25eda99 100644 --- a/lib/notion/mapImage.js +++ b/lib/notion/mapImage.js @@ -6,7 +6,7 @@ import BLOG from '@/blog.config' * 2. UnPlash 图片可以通过api q=50 控制压缩质量 width=400 控制图片尺寸 * @param {*} image */ -const compressImage = (image, width = 400, quality = 50, fmt = 'webp') => { +const compressImage = (image, width = 800, quality = 50, fmt = 'webp') => { if (!image) { return null }