Files
chaos-api/web/src/pages
Apple\Apple aae61434b7 🍭feat: add loading states to all async operation buttons for better UX
- Add paymentLoading state for Alipay and WeChat payment buttons
- Add confirmLoading state for payment confirmation modal
- Implement proper loading management in preTopUp function with try-catch error handling
- Implement proper loading management in onlineTopUp function with comprehensive error handling
- Add loading={paymentLoading} to both payment method buttons to prevent double-clicks
- Add confirmLoading={confirmLoading} to modal confirmation button
- Enhance error handling with user-friendly error messages for failed operations
- Ensure loading states are properly cleared in finally blocks for consistent UX

This update provides immediate visual feedback when users interact with payment buttons,
prevents accidental double-clicks, and improves overall payment flow reliability
with comprehensive error handling and loading state management.
2025-05-23 19:40:43 +08:00
..
2025-05-20 11:31:03 +08:00
2025-05-15 20:00:59 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-05-20 18:01:38 +08:00
2025-05-20 23:47:29 +08:00
2024-01-13 22:38:50 +08:00
2025-05-20 02:33:38 +08:00
2025-04-04 17:37:27 +08:00
2024-05-13 23:02:35 +08:00
2025-05-05 23:56:15 +08:00
2025-04-04 17:37:27 +08:00
2025-04-04 17:37:27 +08:00
2025-05-23 16:58:19 +08:00