This commit is contained in:
2025-11-27 16:47:14 +08:00
parent a2ae6caf94
commit 391b71e8be

View File

@@ -90,7 +90,7 @@ const shareImageToWhatsapp = async (url) => {
const message = '分享了图片 ' + url
// 构造WhatsApp链接
const whatsappLink = `whatsapp://send?text=${encodeURIComponent(message)}`
const whatsappLink = `https://api.whatsapp.com/send?text=${encodeURIComponent(message)}`
window.open(whatsappLink, '_blank')
// 判断浏览器是否支持文件分享