From 6c0c799c1f5da2d215ec8d9df9b92b3d1948dc14 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 17 十二月 2020 18:03:33 +0800 Subject: [PATCH] 交付住宅,RGB --- HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs old mode 100644 new mode 100755 index b030aba..18fa6ea --- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs @@ -34,6 +34,11 @@ } 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); -- Gitblit v1.8.0