ant-design-vue
ant-design-vue copied to clipboard
Table column customRender and slots cannot be set at the same time
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
undefined
Environment
macos, vue3.2.0
Reproduction link
https://github.com/vueComponent/ant-design-vue
Steps to reproduce
无法同时表格列customRender和slots不能同时设置
What is expected?
表格action列(动态 修改/删除)需要跨行,设置customRender中设置children和rowSpan,children会覆盖slots(template)的设置
What is actually happening?
无法同时表格列customRender和slots不能同时设置
having the same issue
一样
having the same issue
解决方案可以先看这个链接:https://blog.csdn.net/WangYC_/article/details/135219690?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22135219690%22%2C%22source%22%3A%22WangYC_%22%7D
内容比较简单,有时间了我再重写一下这个方法