陈嘉乐
2021-01-08 cf8848457367b5eec0ff7610222dc81757a62bac
HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs
old mode 100755 new mode 100644
@@ -2,6 +2,7 @@
using System;
using Shared;
using HDL_ON.Entity;
using System.Text.RegularExpressions;
namespace HDL_ON.UI
{
@@ -34,11 +35,6 @@
                    }
                    if (function.name != name)
                    {
                        if(name.Contains("[\\ud800\\udc00-\\udbff\\udfff\\ud800-\\udfff]"))
                        {
                            HDLCommon.Current.ShowAlert(Language.StringByID(StringId.CannotEnterSpecialCharacters));
                            return;
                        }
                        function.name = name;
                        btnFunctionName.Text = name;
                        function.SaveFunctionData(true);