Skip to content

table set width percentage #5847

@susu1205065402

Description

@susu1205065402

版本:ant-design-vue 3.2.0
const columns = [{
width: "5%"
}]
警告:[Vue warn]: Invalid prop: type check failed for prop "width". Expected Number with value NaN, got String with value "5%".
at <DragHandle prefixCls="ant-table" width="5%" minWidth=undefined ... >

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions