if (this.$refs.studentInfoRef) { this.$nextTick(() => { this.$refs.studentInfoRef.clearValidate(); }); }
博客摘录「 解决Element-UI清空表单及验证不生效的问题」2023年6月7日
于 2023-10-08 16:20:19 首次发布
if (this.$refs.studentInfoRef) { this.$nextTick(() => { this.$refs.studentInfoRef.clearValidate(); }); }