更新 index.vue

This commit is contained in:
zzzzzak
2025-01-12 16:27:05 +08:00
committed by GitHub
parent 0024d0f4e1
commit 7159a3148f
-3
View File
@@ -207,7 +207,6 @@ 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,
@@ -219,8 +218,6 @@ const onInvest = mergeStep(async (item: any) => {
}) })
} }
return return
} finally {
uni.hideLoading()
} }
await userStore.loadUserInfo() await userStore.loadUserInfo()
uni.showToast({ uni.showToast({