this.$refs[formName].validateField('phone', phoneError => { //验证手机号码是否正确 if (!phoneError) { console.log('手机号正确') } else { return false; } });