(storeName: string, action: string, error: any)
| 544 | |
| 545 | // 通用的错误处理 |
| 546 | export const handleStoreError = (storeName: string, action: string, error: any) => { |
| 547 | console.error(`Error in ${storeName} store - ${action}:`, error) |
| 548 | } |
| 549 | |
| 550 | // 通用的状态初始化 |
| 551 | export const initializeStoreState = async <T>( |
no outgoing calls
no test coverage detected