diff --git a/lib/pages/home_page/home_page.dart b/lib/pages/home_page/home_page.dart index cd36320..fb87466 100644 --- a/lib/pages/home_page/home_page.dart +++ b/lib/pages/home_page/home_page.dart @@ -64,7 +64,9 @@ class _HomePageState extends State with WidgetsBindingObserver, Ticker WidgetsBinding.instance.addObserver(this); ///渲染完第一帧后调用 WidgetsBinding.instance.addPostFrameCallback((timeStamp) { - NativeUtil.notifyInitSuccess(); + Timer(Duration(milliseconds: 500), (){ + NativeUtil.notifyInitSuccess(); + }); }); String data = BaseSettingModel.setting.tab['data']; try { diff --git a/lib/widgets/custom/multi_nav/custom_quick_entry.dart b/lib/widgets/custom/multi_nav/custom_quick_entry.dart index 4b2749c..da946a7 100644 --- a/lib/widgets/custom/multi_nav/custom_quick_entry.dart +++ b/lib/widgets/custom/multi_nav/custom_quick_entry.dart @@ -497,7 +497,7 @@ class MyNetWorkImage extends StatelessWidget { return RepaintBoundary( child: CachedNetworkImage( width: width, - imageUrl: imgUrl, + imageUrl: imgUrl ), ); } diff --git a/lib/widgets/custom/notice/custom_notice_widget.dart b/lib/widgets/custom/notice/custom_notice_widget.dart index 7f8c8c8..b8cb28c 100644 --- a/lib/widgets/custom/notice/custom_notice_widget.dart +++ b/lib/widgets/custom/notice/custom_notice_widget.dart @@ -43,7 +43,7 @@ class _CustomNoticeWidgetContainerState extends State<_CustomNoticeWidgetContain /// 子item跳转 void _itemJump(NoticeListStyle model) { print('${model?.contentText}'); - // RouterUtil.route(model, model.toJson(), context); + RouterUtil.route(model, model.toJson(), context); } @override