rules: { pwd:[{ required:true, message:'创建密码',trigger:'blur' }], cpwd:[{ required:true,message:'确认密码',trigger:'blur' },{ validator:(rule,value,callback)=>{ if(value===''){ callback(new Error('请再次输入密码')) }else if(value!==this.ruleForm.pwd){ callback(n…