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 }