Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main
* 'main' of http://192.168.1.42/developOne/harmonyPool: fix |> 修复点击进入《华为账号用户认证协议》页面后返回,客户端必现闪退问题
Showing
1 changed file
with
5 additions
and
3 deletions
| @@ -60,9 +60,11 @@ struct LoginProtocolWebview { | @@ -60,9 +60,11 @@ struct LoginProtocolWebview { | ||
| 60 | .onClick(() => { | 60 | .onClick(() => { |
| 61 | if (this.isConnectNetwork){ | 61 | if (this.isConnectNetwork){ |
| 62 | ///无网络状态下 执行webviewController.accessBackward方法 会crash | 62 | ///无网络状态下 执行webviewController.accessBackward方法 会crash |
| 63 | - if(this.webviewController.accessBackward()){ | ||
| 64 | - this.webviewController.backward() | ||
| 65 | - return | 63 | + if(this.contentID != "4"){ //华为用户认证协议 |
| 64 | + if(this.webviewController.accessBackward()){ | ||
| 65 | + this.webviewController.backward() | ||
| 66 | + return | ||
| 67 | + } | ||
| 66 | } | 68 | } |
| 67 | } | 69 | } |
| 68 | router.back(); | 70 | router.back(); |
-
Please register or login to post a comment