diff --git a/src/pages/invest/index.vue b/src/pages/invest/index.vue index d11136a..cae9f15 100644 --- a/src/pages/invest/index.vue +++ b/src/pages/invest/index.vue @@ -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({