Merge remote-tracking branch 'baidu/master'
This commit is contained in:
commit
a42d391875
|
@ -314,7 +314,7 @@ export function str2rules(
|
||||||
if (~idx) {
|
if (~idx) {
|
||||||
validateMethod = validation.substring(0, idx);
|
validateMethod = validation.substring(0, idx);
|
||||||
args = /^matchRegexp/.test(validateMethod)
|
args = /^matchRegexp/.test(validateMethod)
|
||||||
? [validation]
|
? [validation.substring(idx + 1).trim()]
|
||||||
: validation
|
: validation
|
||||||
.substring(idx + 1)
|
.substring(idx + 1)
|
||||||
.split(',')
|
.split(',')
|
||||||
|
|
Loading…
Reference in New Issue