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

feat: add download API to Link #2659

Merged
merged 5 commits into from
Aug 10, 2023
Merged

feat: add download API to Link #2659

merged 5 commits into from
Aug 10, 2023

Conversation

xiaosansiji
Copy link
Collaborator

@xiaosansiji xiaosansiji commented Aug 2, 2023

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

<a> 支持的原生属性:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes

  • true 表示当前链接可下载
  • download = xxx.png 可以指定下载时的文件名

📝 更新日志

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

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

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

完成

@chaishi chaishi merged commit 0bd8b6a into develop Aug 10, 2023
5 checks passed
@chaishi chaishi deleted the feat/link-download branch August 10, 2023 02:30
@github-actions github-actions bot mentioned this pull request Aug 10, 2023
uyarn pushed a commit that referenced this pull request Aug 11, 2023
* feat: add download API to Link

* feat: update common

* test: update snapshot

* feat: update common
chaishi added a commit that referenced this pull request Aug 11, 2023
* chore(deps-dev): bump fs-extra from 10.1.0 to 11.1.1 (#2651)

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 10.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@10.1.0...11.1.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(table): support TableEditableCellConfig.keepEditMode (#2662)

* feat(table): support TableEditableCellConfig.keepEditMode

* test: update snapshots

* feat: support file list thumbnail (#2665)

* feat(image): support fallback & referrerpolicy & src File

* feat(upload): code save

* feat(upload): support file thumnail

* feat(upload): docs & features

* test: update snapshots

* feat: add download API to Link (#2659)

* feat: add download API to Link

* feat: update common

* test: update snapshot

* feat: update common

* feat: new icon 2.0 version (#2677)

* feat: new icon 2.0 version

* chore: update docs

* chore: release/1.6.0 (#2678)

* feat: release 1.6.0

* feat: update common

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sheepluo <yaoyanhuoyi@qq.com>
Co-authored-by: azhe <xiaosansiji@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
KMethod pushed a commit to KMethod/tdesign-vue that referenced this pull request Aug 25, 2023
* feat: add download API to Link

* feat: update common

* test: update snapshot

* feat: update common
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.

None yet

2 participants