Skip to content

设置 autoSubmitOnEnter: false 不生效 #568

Closed
@flover28

Description

@flover28
版本号:3.5.1
问题描述:使用useListPage时,在formConfig中设置 autoSubmitOnEnter: false时,回车事件依然会提交表单,
   我在用户管理等界面测试了下,也是同样的问题。
截图&代码:

const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({
tableProps: {
title: '邮件勾核信息',
// api: list,
dataSource: tableDataList,
rowKey: 'id',
columns: tableCols,
canResize: false,
rowSelection: { type: 'radio' },
showActionColumn: false,
formConfig: {
autoSubmitOnEnter: false,
submitOnReset: false,
schemas: formSchema,
},
actionColumn: {
width: 100,
fixed: 'right',
},
},
});

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;

Activity

zhangdaiscott

zhangdaiscott commented on May 31, 2023

@zhangdaiscott
Member

sq

lsqGitHub716

lsqGitHub716 commented on Jun 5, 2023

@lsqGitHub716

已修改,下版本发布

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@flover28@lsqGitHub716

        Issue actions

          设置 autoSubmitOnEnter: false 不生效 · Issue #568 · jeecgboot/JeecgBoot-vue3