diff --git a/lib/util/router_util.dart b/lib/util/router_util.dart index 834ad4d..0cc0df2 100644 --- a/lib/util/router_util.dart +++ b/lib/util/router_util.dart @@ -1,6 +1,5 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; import 'package:zhiying_comm/pages/login_page/login_page.dart'; import 'package:zhiying_comm/zhiying_comm.dart'; @@ -61,7 +60,7 @@ class RouterUtil { SkipModel model = SkipModel(); model.skipIdentifier = 'pub.flutter.url'; model.url = url; - RouterUtil.route(model, null, context); + RouterUtil.route(model, model.toJson(), context); }