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
2 additions
and
0 deletions
| @@ -60,11 +60,13 @@ struct LoginProtocolWebview { | @@ -60,11 +60,13 @@ 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.contentID != "4"){ //华为用户认证协议 | ||
| 63 | if(this.webviewController.accessBackward()){ | 64 | if(this.webviewController.accessBackward()){ |
| 64 | this.webviewController.backward() | 65 | this.webviewController.backward() |
| 65 | return | 66 | return |
| 66 | } | 67 | } |
| 67 | } | 68 | } |
| 69 | + } | ||
| 68 | router.back(); | 70 | router.back(); |
| 69 | }).margin({ left: 16 }) | 71 | }).margin({ left: 16 }) |
| 70 | Text() | 72 | Text() |
-
Please register or login to post a comment