From e7aa72fb3038debcaefba16a98b20f2de495f2fb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 08 一月 2020 19:17:17 +0800 Subject: [PATCH] 2020-01-08 --- src/templates/comtableconfig/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index cf9bfdc..0e46a74 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -367,8 +367,8 @@ tooltipClass: 'middle', required: true, rules: [{ - pattern: /^[\u4E00-\u9FA50-9a-zA-Z,_]*$/ig, - message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯' + pattern: /^[\u4E00-\u9FA50-9a-zA-Z,_-]*$/ig, + message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯-' }, { max: 50, message: '瀛楁鍚嶆渶澶�50涓瓧绗︼紒' @@ -814,8 +814,8 @@ initVal: card.field, required: true, rules: [{ - pattern: /^[\u4E00-\u9FA50-9a-zA-Z_]*$/ig, - message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯' + pattern: /^[\u4E00-\u9FA50-9a-zA-Z_-]*$/ig, + message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯-' }, { max: 50, message: '瀛楁鍚嶆渶澶�50涓瓧绗︼紒' -- Gitblit v1.8.0