vue 新增时清除表单验证注意事项

// 清除表单校验的提示
if (this.$refs['XXX']) {
 // 延时执行
  this.$nextTick(function () {
    this.$refs['XXX'].clearValidate();
  })
};
原文地址:https://www.cnblogs.com/520future/p/10384434.html