Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicTable 使用@resize-column 报 Cannot read properties of null (reading 'ce') #8025

Closed
1 task
LionSummer opened this issue Jan 20, 2025 · 2 comments
Closed
1 task

Comments

@LionSummer
Copy link

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

Version

3.2.20

Environment

windows11,Chrome 131.0.6778.266,[email protected]

Reproduction link

https://www.antdv.com/components/table-cn#components-table-demo-resizable-column

Steps to reproduce

1、 设置A列属性中添加 resizable: true 并且 BasicTable 控件添加 @resizeColumn="handleResizeColumn"
2、 在页面的点击A列的右边小控件拖拽调整列宽

What is expected?

能正常调整列的宽度

What is actually happening?

chunk-MLHEDYTC.js?v=15b098a3:4666 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'ce')
at renderSlot (chunk-MLHEDYTC.js?v=15b098a3:4666:32)
at ant-design-vue.js?v=13c54170:51658:27
at Array.map ()
at fillSlots (ant-design-vue.js?v=13c54170:51643:18)
at filledColumns2 (ant-design-vue.js?v=13c54170:51673:12)
at ComputedRefImpl.transformColumns2 [as _value] (ant-design-vue.js?v=13c54170:52094:111)
at ComputedRefImpl.fn (ant-design-vue.js?v=13c54170:46972:39)
at refreshComputed (chunk-MLHEDYTC.js?v=15b098a3:350:29)
at isDirty (chunk-MLHEDYTC.js?v=15b098a3:320:68)
at refreshComputed (chunk-MLHEDYTC.js?v=15b098a3:340:65)

@LionSummer
Copy link
Author

不过在3.2.0版本中,相同的实现逻辑&代码,就不存在此问题,

@LionSummer
Copy link
Author

报错位置的截图:

Image

[

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant