Skip to content

表格Table组件的可伸缩列设置有问题 #8371

@KizuAtoKun

Description

@KizuAtoKun
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

Chrome,Vue 3.5.21

Reproduction link

https://github.com/KizuAtoKun/vue3-antd-test

Steps to reproduce

将所有的列配置columns都加入定宽之后,鼠标单击可伸缩列的分割线,宽度就会变化。
如果进行拖拽会看到表格实际拖拽宽度会比鼠标预定拖拽宽度要多一些。
如果删除/注释掉其中任意一列的定宽属性,可伸缩列的拖拽功能就会正常实现。

What is expected?

该问题之前在4.2.3版本的ant-design-vue上也会发生,后将ant-design-vue版本升级到4.2.6问题依旧存在。

What is actually happening?

columns里的所有列都配置width值后,可伸缩列的拖拽不正常

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