ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

使用ATableColumn进行伸缩列的扩展的编码,但是鼠标拖拽border的时候的时候表头列宽并没有发生变化,而使用columns的方式却是正常的

Open heart-to-the-sea opened this issue 1 year ago • 3 comments
trafficstars

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

Version

4.2.3

Environment

archlinux and windows 11, chrome 126.0.6478.61,Vue 3.2.0

Reproduction link

地址

Steps to reproduce

复制官网demo,将其中的表的列改为ATableColumn,并设置resizable属性,在ATable上设置resizeColumn事件监听,随后拖拽表头的列

What is expected?

期望鼠标在表头border上拖拽的时候,列宽度跟随变化

What is actually happening?

表头列宽度并没有发生变化

heart-to-the-sea avatar Jun 19 '24 00:06 heart-to-the-sea

每次拖拽表头边框的时候,事件都响应到了 image 但是列宽就是没改变

heart-to-the-sea avatar Jun 19 '24 01:06 heart-to-the-sea

The problem will be viewed

webvs2 avatar Jun 21 '24 06:06 webvs2

The problem will be viewed

@webvs2 我这边提了一个pr, 可以解决当前存在的问题,而不会对原有功能有影响 #7680

heart-to-the-sea avatar Jun 22 '24 01:06 heart-to-the-sea

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 21 '24 02:08 github-actions[bot]