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) {