解决方法:pubspec.yaml引入dio_cookie_manager: ^1.0.0 地址:https://pub.flutter-io.cn/packages/dio_cookie_manager#-installing-tab-