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; }