// 滚动到校验不通过节点
this.$nextTick(() => {
let isError = document.getElementsByClassName('is-error')
isError[0].scrollIntoView({
block: 'center', // 值有start,center,end,nearest,当前显示在视图区域中间
behavior: 'smooth', // 值有auto、instant,smooth,缓动动画(当前是慢速的)
})
})