Skip to content

Commit a32ae23

Browse files
committed
处理异常!!!
1 parent ea32543 commit a32ae23

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [2.0.1]
2+
3+
* 异常页面处理
4+
15
## [2.0.0]
26

37
* 空安全支持

lib/src/webview.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class _FKWebViewState extends State<FKWebView>
190190
// this.url = url;
191191
// });
192192
presenter?.onWebViewReday();
193-
_onWebViewError.value = FKWebViewError(code: -10000);
193+
_onWebViewError.value = FKWebViewError(code: FKWebViewError.noError().code);
194194
},
195195
onProgressChanged: (InAppWebViewController controller, int progress) {
196196
_progress.value = progress / 100;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fk_webview
22
description: A new Flutter WebView package.
3-
version: 2.0.0
3+
version: 2.0.1
44
homepage: http://github.com/flutter-fast-kit/fk_webview
55

66
environment:

0 commit comments

Comments
 (0)