From c94da03c2c1eea304e7e58ae2ec5c93f89389e31 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Wed, 21 Apr 2021 20:20:08 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81routerUtil=20webView=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/router_util.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util/router_util.dart b/lib/util/router_util.dart index 97e1bc9..01e625f 100644 --- a/lib/util/router_util.dart +++ b/lib/util/router_util.dart @@ -43,8 +43,8 @@ class RouterUtil { } } - // webView - if (skipModel?.skipIdentifier == 'pub.flutter.url') { + // TODO webView 临时代码,IOS添加原生WebView需要改动这里 + if (skipModel?.skipIdentifier == 'pub.flutter.url' && Platform.isAndroid) { RouterUtil.openWebview(skipModel?.url, context); return; }