Sfoglia il codice sorgente

1、routerUtil webView跳转修改

tags/0.0.14+3^2
PH2 3 anni fa
parent
commit
c94da03c2c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      lib/util/router_util.dart

+ 2
- 2
lib/util/router_util.dart Vedi 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;
}


||||||
x
 
000:0
Caricamento…
Annulla
Salva