vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.27k stars 3.79k forks source link

表格组件columns如果是computed,resizable设置拖拽不生效 #7757

Closed sculiaojin closed 3 weeks ago

sculiaojin commented 3 months ago

Version

4.2.3

Environment

vue3,chrome

Reproduction link

https://next.antdv.com/components/table-cn#api

Steps to reproduce

What is expected?

设置resizable可以拖拽

What is actually happening?

表格组件columns如果是computed,resizable设置拖拽不失效,handleResizeColumn方法中col丢失了响应式

pavitra-infocusp commented 3 months ago

True. The resize effect only comes into effect after some other action like sorting a column.

github-actions[bot] commented 1 month ago

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