Commit b5110217 authored by spc's avatar spc

fixed

parent 61d2afe5
......@@ -370,7 +370,7 @@ const fetchAct915HomeData = async () => {
// 检查是否有未领取的奖品需要弹窗
if (unclaimedPrizes.value.length > 0) {
if (unclaimedPrizes.value?.length > 0) {
showPrizeModal()
}
......@@ -393,17 +393,11 @@ const fetchAct915HomeData = async () => {
console.log('用户未登录,显示授权弹窗')
showMask.value = true
}
} else {
console.log('没有邀请码,检查是否需要显示授权弹窗(未登录用户)', incomingCode)
// 没有邀请码,检查是否需要显示授权弹窗(未登录用户)
if (data.notLogin || !isLogin.value) {
showMask.value = true
}
}
if (isLogin.value) {
console.warn('isLogin.value', isLogin.value)
showMask.value = false
}else{
showMask.value = true
}
}
......@@ -741,11 +735,11 @@ const onGetPhoneNumber = async (e) => {
// 检查是否有邀请码需要处理助力
if (incomingCode) {
// if (incomingCode) {
// 使用统一的助力处理函数
await handleInvitationAssist(incomingCode);
}
// // 使用统一的助力处理函数
// await handleInvitationAssist(incomingCode);
// }
}, {
wxLoginBusinessDTO: {
activityUserInvite915Code: incomingCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment