【缺陷修复】分享信息覆盖了海报信息导致小程序码获取失败的问题
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user