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