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

[table] title 传入function 没有生效,还是按照string 方式渲染的 #1340

Closed
guoxiaoyi opened this issue Apr 24, 2024 · 2 comments · Fixed by #1374
Closed

[table] title 传入function 没有生效,还是按照string 方式渲染的 #1340

guoxiaoyi opened this issue Apr 24, 2024 · 2 comments · Fixed by #1374
Labels
bug Something isn't working issueshoot 代码共建平台 middle 中等问题 sfc changed to tsx sfc changed to tsx

Comments

@guoxiaoyi
Copy link

guoxiaoyi commented Apr 24, 2024

tdesign-mobile-vue 版本

1.2。0

重现链接

No response

重现步骤

  columns: [
    { colKey: 'label', title: '时间', align: 'center', ellipsis: true },
    { colKey: 'items[0].num', title: (h, { col, row }) => row[colKey], align: 'center', ellipsis: true },
  ],

期望结果

title 应该是执行这个方法

实际结果

(h, { col, row }) => row[colKey]

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

IssueShoot

  • 预估时长: 8
  • 期望完成时间: 2024-05-03 00:00:00 +0000 UTC
  • 开发难度: 中
  • 参与人数: 1
  • 需求对接人: anlyyao
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
Copy link
Contributor

👋 @guoxiaoyi,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added bug Something isn't working issueshoot 代码共建平台 middle 中等问题 sfc changed to tsx sfc changed to tsx labels Apr 26, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Apr 26, 2024

任务目标:

  • sfc 改 tsx
  • 验证问题是否还存在

dexterBo added a commit that referenced this issue Apr 29, 2024
@dexterBo dexterBo mentioned this issue Apr 29, 2024
16 tasks
anlyyao pushed a commit that referenced this issue May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working issueshoot 代码共建平台 middle 中等问题 sfc changed to tsx sfc changed to tsx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants