From 883f7b00eaef8f4b1ba429a3ff3eb612cd43af31 Mon Sep 17 00:00:00 2001 From: Weller <1812208341@qq.com> Date: Fri, 23 Oct 2020 18:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=96=E9=93=BE=E5=85=AC?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/router_util.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }