<a-form-model id="ruleForm" ref="ruleForm" >
...
</a-form-model>

let form = this.$refs.ruleForm;
console.log(form);
form = document.getElementById('ruleForm');
console.log(form);
this.$refs.ruleForm


this.$refs.xxx和document.getElementById(xxx)_IT

 

 

document.getElementById('ruleForm')


this.$refs.xxx和document.getElementById(xxx)_IT_02