feat: PhotoSwipe 配置点击关闭
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user