dc6e68154b
apiClientProvider 改用 select(isLoggedIn),token refresh 不触发 provider 重建,避免旧 Dio 被 close 后仍执行 fetch。同时在拦截器内原地更新 _dio.options.headers,保证后续请求使用新 token。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jiu_client
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.