element form a single field validation do

the this . $ refs [formName] .validateField ( 'Phone', phoneerror => { // verify the phone number is correct 
       IF ! ( phoneerror) { 
                the console.log ( 'correct phone number' ) 
       } the else {
                 return  to false ; 
       } 
}) ;

 

Guess you like

Origin www.cnblogs.com/mary-123/p/11869249.html