浏览代码

1、routerUtil webView跳转修改

tags/0.0.14+3^2
PH2 4 年前
父节点
当前提交
c94da03c2c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      lib/util/router_util.dart

+ 2
- 2
lib/util/router_util.dart 查看文件

@@ -43,8 +43,8 @@ class RouterUtil {
} }
} }


// webView // TODO webView 临时代码,IOS添加原生WebView需要改动这里
if (skipModel?.skipIdentifier == 'pub.flutter.url') { if (skipModel?.skipIdentifier == 'pub.flutter.url' && Platform.isAndroid) {
RouterUtil.openWebview(skipModel?.url, context); RouterUtil.openWebview(skipModel?.url, context);
return; return;
} }


||||||
x
 
000:0
正在加载...
取消
保存