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/subtableconfig/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/subtableconfig/index.jsx b/src/templates/subtableconfig/index.jsx index bc0d1be..bace997 100644 --- a/src/templates/subtableconfig/index.jsx +++ b/src/templates/subtableconfig/index.jsx @@ -319,8 +319,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涓瓧绗︼紒' @@ -739,8 +739,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