From 7e94d0d0dcb7eae298d0bbb4221c970037448c9f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 02 十一月 2023 16:22:52 +0800
Subject: [PATCH] 修复首次登录mqtt无法订阅的问题
---
HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
index 6576dcb..346e2d3 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/PushConfigPage.cs
@@ -69,11 +69,20 @@
appPush.frameLayout.Radius = (uint)Application.GetRealHeight(12);
appPush.btnText.TextID = StringId.apptuisong;
appPush.btnText.X = Application.GetRealWidth(12);
+
+ if (MainPage.NoLoginMode)
+ {
+ appPush.btnNextIcon.Visible = false;
+ }
viewLayout.AddChidren(appPush.FLayoutView(false));
//瀹氫箟涓�涓眬閮ㄨ处鍙峰垪琛ㄧ敤鏉ヨ褰曢�変腑鏁版嵁;
List<string> selectedAccountList = new List<string>();
appPush.btnClick.MouseUpEventHandler += (sender, e) =>
{
+ if (MainPage.NoLoginMode)
+ {
+ return;
+ }
var userList = new List<HDL_ON.Entity.ResidenceMemberInfo>();
Loading loading = new Loading();
this.AddChidren(loading);
@@ -82,7 +91,7 @@
{
try
{
- userList = Send.GetResidenceMemberAccount();
+ userList = Send.Current.GetResidenceMemberAccount();
}
catch { }
--
Gitblit v1.8.0