更新 index.vue

This commit is contained in:
zzzzzak
2025-01-12 12:02:01 +08:00
committed by GitHub
parent bfeb64196d
commit 0024d0f4e1
+3
View File
@@ -207,6 +207,7 @@ const onShowRights = (item: any) => {
const onInvest = mergeStep(async (item: any) => {
try {
uni.showLoading()
await submitInvestAPI({
investid: item.id,
type: 3,
@@ -218,6 +219,8 @@ const onInvest = mergeStep(async (item: any) => {
})
}
return
} finally {
uni.hideLoading()
}
await userStore.loadUserInfo()
uni.showToast({