Commit b9633a38 by 张杰

修复bug

1 parent cc996638
...@@ -102,7 +102,7 @@ export const Common = { ...@@ -102,7 +102,7 @@ export const Common = {
* 中文英文数字下划线括号 * 中文英文数字下划线括号
*/ */
checkName(rule, value, callback) { checkName(rule, value, callback) {
var rxp = /^[\u4e00-\u9fa5_-a-zA-Z0-9.\\()\\()]+$/; var rxp = /^[\u4e00-\u9fa5-a-zA-Z0-9.-_\\()\\()]+$/;
if (!rule.required) { if (!rule.required) {
if (!value) { if (!value) {
callback(); callback();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!