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

[t-dialog] 设置 header为false时 还是会显示头部元素 #4832

Open
mayday97 opened this issue Dec 11, 2024 · 3 comments
Open

[t-dialog] 设置 header为false时 还是会显示头部元素 #4832

mayday97 opened this issue Dec 11, 2024 · 3 comments
Labels
🐞 bug Something isn't working easy easy level of difficulties issueShoot to be published to be published

Comments

@mayday97
Copy link

mayday97 commented Dec 11, 2024

tdesign-vue-next 版本

1.10.4

重现链接

No response

重现步骤

No response

期望结果

<t-dialog
v-model:visible="show"
attach="body"
width="80vw"
:header="false"
:footer="false"
:closeBtn="false"
destroyOnClose
class="chart-detail-pop-wrap"

<div class="flex top-box">
  <div class="chart-name">图表名称</div>
</div>
<div class="chart-render-wrap">

</div>

实际结果

image

框架版本

Vue(3.5.13)

浏览器版本

No response

系统版本

No response

Node版本

18.16.0

补充说明

No response

IssueShoot

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

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

@coding-climber
Copy link

这个是不是对需求的理解存在分歧呀

@uyarn
Copy link
Collaborator

uyarn commented Dec 14, 2024

close-btn 和header 同时为false 确实没有必要渲染这个header了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working easy easy level of difficulties issueShoot to be published to be published
Projects
None yet
Development

No branches or pull requests

3 participants