Commit b07c981d6581b86042771a283fb516694f0878c0
1 parent
e2760d07
Exists in
master
and in
1 other branch
fix: 下单加保险
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
pages/order/index.vue
| @@ -332,8 +332,10 @@ export default { | @@ -332,8 +332,10 @@ export default { | ||
| 332 | uni.navigateBack(); | 332 | uni.navigateBack(); |
| 333 | this.onSearch(); | 333 | this.onSearch(); |
| 334 | }) | 334 | }) |
| 335 | - .finally(() => { | ||
| 336 | - uni.hideLoading(); | 335 | + .catch(() => { |
| 336 | + setTimeout(() => { | ||
| 337 | + uni.hideLoading(); | ||
| 338 | + }, 2000); | ||
| 337 | }); | 339 | }); |
| 338 | } else { | 340 | } else { |
| 339 | uni.navigateBack(); | 341 | uni.navigateBack(); |