This commit is contained in:
anonymous
2025-01-11 11:25:14 +08:00
parent 7d8eb755f1
commit 25c045418d
+7 -4
View File
@@ -211,10 +211,13 @@ const onInvest = mergeStep(async (item: any) => {
investid: item.id,
type: 3,
})
} catch {
return uni.switchTab({
url: '/pages/invite/index',
})
} catch (error) {
if (error?.data?.msg.includes('邀请')) {
return uni.switchTab({
url: '/pages/invite/index',
})
}
return
}
await userStore.loadUserInfo()
uni.showToast({