ref |> 处理一键登录交互流程问题
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
1 changed file
with
6 additions
and
0 deletions
| @@ -172,6 +172,12 @@ struct OneKeyLoginPage { | @@ -172,6 +172,12 @@ struct OneKeyLoginPage { | ||
| 172 | .backgroundColor("#ED2800") | 172 | .backgroundColor("#ED2800") |
| 173 | .onClick(() => { | 173 | .onClick(() => { |
| 174 | 174 | ||
| 175 | + if (!this.agreeProtocol) { | ||
| 176 | + this.toastText = "请阅读并勾选用户协议、隐私政策和华为账号用户认证协议" | ||
| 177 | + this.dialogToast.open() | ||
| 178 | + return | ||
| 179 | + } | ||
| 180 | + TrackingButton.click("oneClickLoginPageLoginButton", TrackConstants.PageName.OneClick_Login, TrackConstants.PageName.OneClick_Login) | ||
| 175 | this.requestLogin() | 181 | this.requestLogin() |
| 176 | }) | 182 | }) |
| 177 | 183 |
-
Please register or login to post a comment