private rules ={
pass:[{ validator:this.validatePassword, trigger:'blur'}]};privatevalidatePassword=(rule: any, value: string, callback: Function)=>{if(value.length <6){callback(newError('The password can not be less than 6 digits'))}else{callback()}};