From a4d0a03f3f87fcb5e4485e98a1f7b1a119c26eab Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 28 四月 2021 11:27:55 +0800
Subject: [PATCH] 121-04-28-2

---
 HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
index 73b8da7..4579724 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs
@@ -72,7 +72,7 @@
             bodyView.AddChidren(topView);
 
             //涓嶆槸A缃戝叧鎴栬�呮槸鎴愬憳 鍙厑璁告坊鍔犲満鏅殣钘忚嚜鍔ㄥ寲
-            var HideAutoPage = DB_ResidenceData.Instance.GatewayType != 1|| DB_ResidenceData.Instance.CurrentRegion.IsOthreShare;
+            var HideAutoPage = DB_ResidenceData.Instance.CurrentRegion.IsOthreShare;
             //鍒ゆ柇鏄惁闇�瑕侀殣钘忚嚜鍔ㄥ寲
             if (HideAutoPage)
             {
@@ -606,7 +606,8 @@
                 else
                 {
                     //璺宠浆鍒伴�昏緫鐣岄潰
-                    UI2.Intelligence.Automation.MainView.SkipAddLogicPage();
+                    UI2.Intelligence.Automation.MainView logicMainView = new UI2.Intelligence.Automation.MainView();
+                    logicMainView.SkipAddLogicPage();
                 }
             };
         }

--
Gitblit v1.8.0