Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/CadastralSystem
Showing
2 changed files
with
2 additions
and
0 deletions
... | @@ -429,6 +429,7 @@ | ... | @@ -429,6 +429,7 @@ |
429 | ]; | 429 | ]; |
430 | let flag = true; | 430 | let flag = true; |
431 | this.rules.forEach(item=>{ | 431 | this.rules.forEach(item=>{ |
432 | if(item.data !==""){ | ||
432 | if(!item.rule.test(+item.data) || item.data == null){ | 433 | if(!item.rule.test(+item.data) || item.data == null){ |
433 | if(item.dom.$el){ | 434 | if(item.dom.$el){ |
434 | item.dom.$el.style.border = '1px solid red'; | 435 | item.dom.$el.style.border = '1px solid red'; |
... | @@ -440,6 +441,7 @@ | ... | @@ -440,6 +441,7 @@ |
440 | flag = false; | 441 | flag = false; |
441 | return false | 442 | return false |
442 | } | 443 | } |
444 | } | ||
443 | }) | 445 | }) |
444 | 446 | ||
445 | this.form['hbsms'] = this.bsms | 447 | this.form['hbsms'] = this.bsms | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment