Browse Source

1、routerUtil webView跳转修改

tags/0.0.14+3^2
PH2 3 years ago
parent
commit
c94da03c2c
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);
return;
}


Loading…
Cancel
Save