hookehuyr

fix 新增错误滚动到相应位置

<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-21 18:14:56
* @LastEditTime: 2022-12-21 18:35:04
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
......@@ -31,7 +31,7 @@
<div v-if="PHeader.label" class="table-title">{{ PHeader.label }}</div>
<div v-if="PHeader.description" class="table-desc" v-html="PHeader.description" />
<van-config-provider :theme-vars="themeVars">
<van-form @submit="onSubmit">
<van-form @submit="onSubmit" scroll-to-error="true">
<van-cell-group :border="false">
<component
v-for="(item, index) in formData"
......