From 53cb8c211ecec2388a6583d32c5d2fe709285344 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 11 五月 2020 14:54:52 +0800 Subject: [PATCH] 上传 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs index 4a8087c..c62d9d6 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs @@ -111,6 +111,11 @@ form.AddForm(title, listText, nowSelectNo); form.FinishSelectEvent += (selectNo) => { + if (selectNo == nowSelectNo) + { + //閫夋嫨鐨勬槸鐩稿悓鐨� + return; + } //-1:閫夋嫨鍙栨秷 this.Text = selectNo == -1 ? string.Empty : listText[selectNo]; nowSelectNo = selectNo; @@ -118,6 +123,9 @@ //璁板綍璧峰綋鍓嶉�夋嫨鐨勫姛鑳界被鍨� this.RefreshDfunctionType(); + //璁惧鏀瑰彉鍔熻兘绫诲瀷鐨勮瘽,涓婚〉闇�瑕侀噸鏂板埛鏂� + UserView.UserPage.Instance.RefreshForm = true; + //璋冪敤鍥炶皟鍑芥暟 this.FinishSelectEvent?.Invoke(nowSelectNo); }; -- Gitblit v1.8.0