wei
2020-12-21 1887ea937010ff8caba39622e8246a2802ca02c5
HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
@@ -107,6 +107,8 @@
                        Tag = function.sid + "_Switch",
                    };
                    bodyDiv.AddChidren(btnSwitch);
                    //加载开关按钮事件
                    LoadEvent_SwitchFunction(btnSwitch,function.attributes.Find((obj)=> obj.key == FunctionAttributeKey.FadeTime ));
                }
                else
                {
@@ -122,9 +124,9 @@
                        Tag = function.sid + "_Switch",
                    };
                    bodyDiv.AddChidren(btnSwitch);
                    //加载开关按钮事件
                    LoadEvent_SwitchFunction(btnSwitch);
                }
                //加载开关按钮事件
                LoadEvent_SwitchFunction(btnSwitch);
                switch (function.functionCategory)
                {