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