vue element validate 主动触发错误提示

经测试有效的方法为web self.$refs.ruleForm.fields[0].error="用户名错误"; 若是有更好的方法,你们能够分享svg
相关文章
相关标签/搜索