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

Table column customRender and slots cannot be set at the same time

Open duke-git opened this issue 2 years ago • 4 comments

  • [ ] 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不能同时设置

duke-git avatar Feb 21 '23 09:02 duke-git

having the same issue

fayeah avatar Mar 06 '23 10:03 fayeah

一样

pkaq avatar Jun 06 '23 07:06 pkaq

having the same issue

WangMargin avatar Dec 26 '23 04:12 WangMargin

解决方案可以先看这个链接: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

内容比较简单,有时间了我再重写一下这个方法

WangMargin avatar Dec 26 '23 05:12 WangMargin