459 Star 4.4K Fork 868

GVPxuliangzhan / vxe-table

 / 详情

表单组件使用el-row和el-col布局后会导致表单验证和表单重置无效

待办的
创建于  
2020-11-12 17:13

(必填)请填写问题描述或截图:
和element-ui配合,表单组件使用el-row和el-col布局后会导致表单验证和表单重置无效

<vxe-form ref="xForm"
  class="my-form2"
  title-align="right"
  title-width="100"
  :data="formData2"
  :rules="formRules2">
<el-row :gutter="20">
    <el-col :xl="6" :lg="8" :md="12">
        <vxe-form-item title="身份证" field="idCard" :span="24">
            <template v-slot="scope">
                <vxe-input v-model.trim="form.idCard" maxlength="18" placeholder="请输入身份证" clearable @input="$refs.xForm.updateStatus(scope)"></vxe-input>
            </template>
        </vxe-form-item>
    </el-col>
</el-row>
<vxe-button type="reset">重置</vxe-button>

评论 (0)

newmum 创建了任务
newmum 关联仓库设置为xuliangzhan/vxe-table
newmum 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
JavaScript
1
https://gitee.com/xuliangzhan_admin/vxe-table.git
git@gitee.com:xuliangzhan_admin/vxe-table.git
xuliangzhan_admin
vxe-table
vxe-table

搜索帮助