Skip to content

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Aug 18, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(tabs): 将 remove 事件从删除图标移至外层容器

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link

pkg-pr-new bot commented Aug 18, 2025

tdesign-vue2-demo-compiler-2-6

npm i https://pkg.pr.new/tdesign-vue@3686

commit: 62a7aed

Copy link
Contributor

github-actions bot commented Aug 18, 2025

完成

@RSS1102 RSS1102 changed the title refactor(tabs): extract the remove event to outside the remove-icon-btn feat(tabs): extract the remove event to outside the remove-icon-btn Aug 18, 2025
@uyarn
Copy link
Collaborator

uyarn commented Aug 20, 2025

/update-common

@uyarn
Copy link
Collaborator

uyarn commented Aug 20, 2025

1.14.0 带上

if (!panel) return;
emitEvent<Parameters<TdTabsProps['onRemove']>>(panel, 'remove', eventData);
emitEvent<Parameters<TdTabPanelProps['onRemove']>>(panel, 'remove', {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants