首页 > TAG信息列表 > 值有
ElementUI form表单校验错误滚动到错误位置
submitBtn() { this.$refs.ruleForm.validate((valid) => { if (valid) { this.$emit('submit', this.submitData) } else { this.$nextTick(() => { const isError = document.getElementsByElementUI form表单校验错误滚动到错误位置
submitBtn() { this.$refs.ruleForm.validate((valid) => { if (valid) { this.$emit('submit', this.submitData) } else { this.$nextTick(() => { const isError = document.getElementsBy