From 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 23 七月 2020 16:39:59 +0800
Subject: [PATCH] 2020-07-23

---
 HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
index aa03aa9..bce0ff1 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AccountBindInfo/VerificationCodePage.cs
@@ -491,7 +491,8 @@
                                 Thread.Sleep(1600);
                                 Application.RunOnMainThread(() =>
                                 {
-                                    MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
+                                    MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
+                                    //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
                                     if (titleId == StringId.ModifyBindingEmail)
                                     {
                                         LoadEvent_SkipBindAccountInfoPage(StringId.BindEmail);
@@ -517,7 +518,8 @@
 
                                                     for (int i = 0; i < 2; i++)
                                                     {
-                                                        MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
+                                                        MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent();
+                                                        //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1);
                                                     }
                                                     action(account);
                                                 });

--
Gitblit v1.8.0