【缺陷修复】分享信息覆盖了海报信息导致小程序码获取失败的问题

This commit is contained in:
puhui999
2025-01-07 16:30:07 +08:00
parent 53899380c3
commit 94f8883bd8
3 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -197,17 +197,17 @@
// 微信小程序分享好友
onShareAppMessage(() => {
return {
title: shareInfo.value.title,
path: shareInfo.value.path,
imageUrl: shareInfo.value.image,
title: shareInfo.value.forward.title,
path: shareInfo.value.forward.path,
imageUrl: shareInfo.value.forward.image,
};
});
// 微信小程序分享朋友圈
onShareTimeline(() => {
return {
title: shareInfo.value.title,
query: shareInfo.value.path,
imageUrl: shareInfo.value.image,
title: shareInfo.value.forward.title,
query: shareInfo.value.forward.path,
imageUrl: shareInfo.value.forward.image,
};
});
// #endif
@@ -92,7 +92,6 @@
showAuthModal();
return;
}
console.log(props.shareInfo);
unref(SharePosterRef).getPoster();
state.showPosterModal = true;
};