更新 index.vue
This commit is contained in:
@@ -207,6 +207,7 @@ const onShowRights = (item: any) => {
|
|||||||
|
|
||||||
const onInvest = mergeStep(async (item: any) => {
|
const onInvest = mergeStep(async (item: any) => {
|
||||||
try {
|
try {
|
||||||
|
uni.showLoading()
|
||||||
await submitInvestAPI({
|
await submitInvestAPI({
|
||||||
investid: item.id,
|
investid: item.id,
|
||||||
type: 3,
|
type: 3,
|
||||||
@@ -218,6 +219,8 @@ const onInvest = mergeStep(async (item: any) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
} finally {
|
||||||
|
uni.hideLoading()
|
||||||
}
|
}
|
||||||
await userStore.loadUserInfo()
|
await userStore.loadUserInfo()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user