Skip to content

🐛[BUG] ProTable的查询表单的span属性,当屏幕分辨率从宽度1297开始就使用xxl属性,而不是xl属性 #6630

Open
@louis-web

Description

@louis-web

🐛 bug 描述

ProTable的查询表单的span属性,当屏幕分辨率从宽度1297开始就使用xxl属性,而不是xl属性。

📷 复现步骤

<ProTable<DataType, Params, ValueType>
        form={{
          ignoreRules: false,
          span: {
            xs: 24,
            sm: 24,
            md: 12,
            lg: 12,
            xl: 5,
            xxl: 3,
          }
        }}
...
/>

或者

<ProTable<DataType, Params, ValueType>
        search={{
          span: {
            xs: 24,
            sm: 24,
            md: 12,
            lg: 12,
            xl: 5,
            xxl: 3,
          }
        }}
...
/>

🏞 期望结果

希望能实现按span说明文档描述:

  1.  xl 能应用于 屏幕 ≥ 1200px ,并且<1600px ;
    
  2.  xxl 属性用于屏幕 ≥ 1600px ,而不是屏幕 ≥ 1297px。
    

© 版本信息

  • ProComponents 版本: 2.3.57
  • Antd 版本: 5.2.1
  • @umijs/max 版本 4.0.51
  • 浏览器环境 Google Chrome 110.0.5481.100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions