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); };