Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

🧐[问题] 表格行高 options.density 密度设置 和 table的 size 如何同时使用,defaultSize的作用 #749

@690591397

Description

@690591397

🧐 问题描述

ProTable size设置为small时候, options属性下的density设置为true。无论怎么选择密度,都是size small 。
请问怎么样能做到默认small,还能选择切换其他的行高密度?

💻 示例代码

https://procomponents.ant.design/components/table/?current=1&pageSize=5#datasource
文档的第一个案例。

🚑 其他信息

const initData = {
  size: 'small',
  options: {
    show: true,
    density: true,
    fullScreen: true,
    setting: true,
  },
};

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

    Issue actions