navigator.share({
title: document.title,
text: "Hello World",
url: window.location.href
}).then(() => console.log('Successful share'))
.catch(() => console.log('Error sharing:', error));
普通浏览器分享到微信
最新推荐文章于 2024-08-12 10:16:58 发布