feat: PhotoSwipe 配置点击关闭

This commit is contained in:
2026-07-17 18:40:04 +08:00
parent 9909d8d7a5
commit f1cb633cb3

View File

@@ -186,6 +186,8 @@ const published_at = formatDatetime(data.published_at, 'YYYY 年 M 月 D 日')
left: 24,
},
bgOpacity: 0.5,
tapAction: "close",
bgClickAction: "close",
})
lightbox.init()