Browse Source

代码提交

hy 7 years ago
parent
commit
6db9e7f229
1 changed files with 2 additions and 0 deletions
  1. 2 0
      frontend/saas-web/app/view/document/kind/ChildForm.js

+ 2 - 0
frontend/saas-web/app/view/document/kind/ChildForm.js

@@ -369,6 +369,8 @@ Ext.define('KitchenSink.view.binding.ChildForm', {
                 xtype:'textfield',
                 fieldLabel: '真实姓名',
                 name: 'realname',
+                regex:/^[\u4e00-\u9fa5]+$/,
+                regexText:'请输入汉字',
                 allowBlank:false,
                 maxLength: 30,
             },{