|
|
@@ -256,6 +256,11 @@ class _HomePageState extends State<HomePage> with WidgetsBindingObserver, Ticker |
|
|
|
if (_currentIndex == index) { |
|
|
|
return; |
|
|
|
} else { |
|
|
|
/// 如果是外链,直接打开原生WebView |
|
|
|
if (model?.skipIdentifier == 'pub.flutter.url') { |
|
|
|
RouterUtil.openWebview(model?.url, context); |
|
|
|
return; |
|
|
|
} |
|
|
|
setState(() { |
|
|
|
_currentIndex = index; |
|
|
|
}); |
|
|
|