Browse Source

1、接口登陆失效,用户登陆信息为空。(临时解决)

tags/0.0.2+5^0
PH2 4 years ago
parent
commit
ac1ec1ce32
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      example/lib/main.dart

+ 1
- 0
example/lib/main.dart View File

@@ -67,6 +67,7 @@ class _MyAppState extends State<MyApp> {
ChangeNotifierProvider.value(value: UserInfoNotifier()), ChangeNotifierProvider.value(value: UserInfoNotifier()),
], ],
child: MaterialApp( child: MaterialApp(
navigatorKey: navigatorKey,
localizationsDelegates: [ localizationsDelegates: [
RefreshLocalizations.delegate, RefreshLocalizations.delegate,
GlobalMaterialLocalizations.delegate, GlobalMaterialLocalizations.delegate,


Loading…
Cancel
Save