表单添加scroll-to-error
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
width="55%"
|
||||
height="400"
|
||||
:append-to-body="true"
|
||||
:scroll-to-error="true"
|
||||
:before-close="close"
|
||||
:close-on-click-modal="false"
|
||||
draggable
|
||||
>
|
||||
<!-- 用户档案录入 新建1 -->
|
||||
<el-form :model="form" class=“form-two” :validate-on-rule-change="false" :rules="rules" ref="ruleFormRef">
|
||||
<el-form :model="form" class=“form-two” :validate-on-rule-change="false" :rules="rules"
|
||||
:scroll-to-error="true" ref="ruleFormRef">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="填报人:" :label-width="formLabelWidth" prop="reporter">
|
||||
|
||||
Reference in New Issue
Block a user