Skip to content

fix(link): disabled style condition judgment is missing #3643

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

CrazyOrr
Copy link
Contributor

@CrazyOrr CrazyOrr commented May 10, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

navigatoropen-type="navigate" 时,也可以通过设置 target="miniProgram" 并指定 app-id 或者 short-link 跳转到其他小程序。目前只检查了 url 参数,会造成需要跳转到小程序的 link 的样式为 disabled

💡 需求背景和解决方案

target="miniProgram" 时增加检查 appIdshortLink 参数。

📝 更新日志

  • fix(Link): 修复在 navigatorProps 中只指定 appId 或者 shortLinktarget="miniProgram" 时样式为禁用状态的问题

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link

pkg-pr-new bot commented May 10, 2025

Open in StackBlitz

npm i https://pkg.pr.new/tdesign-miniprogram@3643

commit: 6443a4c

@betavs betavs changed the title fix(link): linknavigatorProps 中只指定 appId 或者 shortLink 时样式不应该为 disabled fix(link): disabled style condition judgment is missing May 23, 2025
@anlyyao anlyyao merged commit f9c07dc into Tencent:develop May 23, 2025
7 checks passed
@github-actions github-actions bot mentioned this pull request May 23, 2025
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.

3 participants