This commit is contained in:
2020-12-02 18:16:36 +08:00
parent 43cedae17f
commit f082a56924
9 changed files with 10 additions and 10 deletions

View File

@@ -258,7 +258,7 @@ export default defineComponent({
if(index == 1){
url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`
}else {
url = `https://www.facebook.com/sharer/sharer.php?%20u=${res.shareUrl}&t=${res.shareTitle}`
url = `https://www.facebook.com/sharer.php?t=${encodeURIComponent(res.shareTitle)}&u=${res.shareUrl}`
}
window.open(url, "_blank")
})