diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 25013c2..504b9d9 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -698,7 +698,7 @@ "languageVersion": "2.8" } ], - "generated": "2021-01-11T01:38:24.309300Z", + "generated": "2021-01-11T02:33:23.833738Z", "generator": "pub", "generatorVersion": "2.8.2" } diff --git a/lib/pages/launch_page/launch_page.dart b/lib/pages/launch_page/launch_page.dart index 5b2b17d..6cc6d51 100644 --- a/lib/pages/launch_page/launch_page.dart +++ b/lib/pages/launch_page/launch_page.dart @@ -58,6 +58,7 @@ class _LaunchPageState extends State { // CupertinoPageRoute(builder: (context) => HomePage())); Navigator.of(context).pushReplacementNamed('/homePage'); } + NativeUtil.notifyInitSuccess(); }).catchError((err) async { if(err.toString().contains("BaseSettingModel")){ await showDialog(context: context,child: TipDialog(content: "基本配置加载失败!请检查网络是否可用后再启动应用!",)); @@ -100,10 +101,13 @@ class _LaunchPageState extends State { @override Widget build(BuildContext context) { - return Image.asset( - 'assets/images/launch_image/launch_image.png', - package: 'zhiying_base_widget', - fit: BoxFit.fill, + return Container( + color: Colors.white, + child: Image.asset( + 'assets/images/launch_image/launch_image.png', + package: 'zhiying_base_widget', + fit: BoxFit.fill, + ), ); } } diff --git a/lib/register.dart b/lib/register.dart index c8dc1f2..d429f37 100644 --- a/lib/register.dart +++ b/lib/register.dart @@ -154,9 +154,9 @@ class BaseWidgetRegister { }); // 延迟一秒 - Application.addMethod(() async { - return Future.delayed(Duration(seconds: 1)); - }); + // Application.addMethod(() async { + // return Future.delayed(Duration(seconds: 1)); + // }); } // 注册页面