CrabtreeOn,印度客户定制APP,迁移2.0平台版本
wxr
2023-01-03 ed8b62c72831d92067369cc9abb35f1470b8e4d3
Crabtree/SmartHome/HDL/Common/CommonUtlis.cs
@@ -261,6 +261,12 @@
            btnOption.MouseUpEventHandler += (sdf, fds) => {
                //修改名称
                var newStr = etZoneName.Text.Trim ();
                //输入内容不能为空
                if (string.IsNullOrEmpty (newStr)) {
                    Utlis.ShowTip (Language.StringByID(SimpleControl.R.MyInternationalizationString.PleaseEnterContent));
                    return;
                }
                if (nameStr != newStr) {
                    saveAction?.Invoke (newStr);
                }