- Introduce useMultiAsyncOperation to manage multiple async operations in useAuth, enhancing error handling and loading state management. - Replace manual loading and error state management with standardized async operation patterns for initialize, login, register, and logout functions. - Update related components to utilize the new async operation structure, improving code clarity and maintainability. - Add useAsyncOperation to other composables (useChat, useTicketPurchase, useMarket) for consistent async handling across the application. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| composables | ||
| core | ||
| i18n | ||
| lib | ||
| modules | ||
| pages | ||
| stores | ||
| app.config.ts | ||
| app.ts | ||
| App.vue | ||
| main.ts | ||
| vite-env.d.ts | ||