From f0c43581e672e4ec82636102227edf61fbad33bd Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 16 七月 2021 18:37:29 +0800 Subject: [PATCH] 修复房间错误加载音乐列表导致闪退问题 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs index 90ab211..e0d3cbc 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Weather.cs @@ -72,7 +72,14 @@ weatherCondition.Show(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; - + //绌烘皵璐ㄩ噺 + kongqiViewk.btnClick.MouseUpEventHandler += (sen, e) => { + AirQuality airQuality = new AirQuality(); + MainPage.BasePageView.AddChidren(airQuality); + airQuality.Show(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + #endregion } } -- Gitblit v1.8.0