fix: bug
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user