element-UI之表单校验—上传图片后,清楚提示
找到解决方法,感谢该博主:
https://blog.csdn.net/weixin_30606669/article/details/97872948
需要在on-success的handleAvatarSuccess方法中添加一句this.$refs.image.clearValidate();
![](https://img2018.cnblogs.com/blog/815483/201911/815483-20191107165552223-1557604095.png)
找到解决方法,感谢该博主:
https://blog.csdn.net/weixin_30606669/article/details/97872948
需要在on-success的handleAvatarSuccess方法中添加一句this.$refs.image.clearValidate();