Commit 030b13a0 authored by xierz's avatar xierz
Browse files

拼音正则

parent 450c72bc
......@@ -378,7 +378,7 @@
this.rules.categoryPinyin = [{
"validator": this.validatorCategoryPinyin, trigger: 'blur'
}, {
"pattern": /^[^[!@#$"'%^&*()_+-/~?!@#¥%…&*()——+—?》《:“‘’]+$/,
"pattern": /^[^[!@#$"'%^&*()_+-/~?!\\@#¥%…&*()——+—?》《:“‘’\s]+$/,
"message": "拼音格式不匹配"
}];
if (this.regularCheck(regu, n)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment