// 清除表单校验的提示
if (this.$refs['XXX']) {
 // 延时执行
  this.$nextTick(function () {
    this.$refs['XXX'].clearValidate();
  })
};

 

相关文章: