“yanghuaxuan” 3 years ago
parent
commit
129b7d7ce7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/util/router_util.dart

+ 2
- 2
lib/util/router_util.dart View File

@@ -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); RouterUtil.openWebview(skipModel?.url, context);
return; return;
} }


Loading…
Cancel
Save