From 23aaa6e672053d907acbc30bdbb5cf6e8ee6b937 Mon Sep 17 00:00:00 2001
From: lss <lsc@hdlchina.com.cn>
Date: 星期三, 15 六月 2022 13:53:24 +0800
Subject: [PATCH] 2022-6-15
---
HDL_ON/UI/UI2/4-PersonalCenter/Visitor/VisitorQRCodePage.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/Visitor/VisitorQRCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/Visitor/VisitorQRCodePage.cs
index 9a904da..7cceca1 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/Visitor/VisitorQRCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/Visitor/VisitorQRCodePage.cs
@@ -38,6 +38,7 @@
public override void RemoveFromParent()
{
+ this.tempPassword = null;
backAction?.Invoke();
base.RemoveFromParent();
}
@@ -45,13 +46,14 @@
public void LoadPage()
{
#region 椤堕儴瀵艰埅鏍�
- if (tempPassword == null)
+ if (tempPassword == null|| tempPassword.id==null)
{
tempPassword = new VisitorTempPassword();
Action click = () =>
{
- Action action = () => {
+ Action action = () =>
+ {
LoadPage();
};
VisitorHistoryPage page = new VisitorHistoryPage(action);
@@ -63,7 +65,6 @@
bodyView.BackgroundColor = CSS_Color.BackgroundColor;
new TopViewDiv(bodyView, Language.StringByID(StringId.VisitorInvitation))
.LoadTopView_SettingText(click, Language.StringByID(StringId.VisitorRecord));
-
}
else
{
--
Gitblit v1.8.0