拼音正则
This commit is contained in:
parent
450c72bca5
commit
030b13a0f8
|
@ -378,7 +378,7 @@
|
||||||
this.rules.categoryPinyin = [{
|
this.rules.categoryPinyin = [{
|
||||||
"validator": this.validatorCategoryPinyin, trigger: 'blur'
|
"validator": this.validatorCategoryPinyin, trigger: 'blur'
|
||||||
}, {
|
}, {
|
||||||
"pattern": /^[^[!@#$"'%^&*()_+-/~?!@#¥%…&*()——+—?》《:“‘’]+$/,
|
"pattern": /^[^[!@#$"'%^&*()_+-/~?!\\、@#¥%…&*()——+—?》《:“‘’\s]+$/,
|
||||||
"message": "拼音格式不匹配"
|
"message": "拼音格式不匹配"
|
||||||
}];
|
}];
|
||||||
if (this.regularCheck(regu, n)) {
|
if (this.regularCheck(regu, n)) {
|
||||||
|
|
Loading…
Reference in New Issue