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, investid: item.id,
type: 3, type: 3,
}) })
} catch { } catch (error) {
return uni.switchTab({ if (error?.data?.msg.includes('邀请')) {
url: '/pages/invite/index', return uni.switchTab({
}) url: '/pages/invite/index',
})
}
return
} }
await userStore.loadUserInfo() await userStore.loadUserInfo()
uni.showToast({ uni.showToast({