Skip to content

fix(upload): integrate form disabled state into upload component #3525

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
Mar 5, 2025

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Mar 4, 2025

close #3524 close #3523

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(upload): 为上传组件增加表单禁用状态支持

  • 本条 PR 不需要纳入 Changelog

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

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

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

Copy link

pkg-pr-new bot commented Mar 4, 2025

Open in Stackblitz

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

commit: 926aa9f

Copy link
Contributor

github-actions bot commented Mar 4, 2025

完成

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Mar 5, 2025

不过看起来 image-flowfile-flowdisabled 状态下,

  1. 拖拽上传区域未明显体现禁用状态,与非禁用状态无明显区分;
  2. 禁用状态下仍存在 hover 效果。

Normal :
image

Disabled :
image

@uyarn uyarn merged commit 2b73b70 into Tencent:develop Mar 5, 2025
9 checks passed
This was referenced Mar 7, 2025
uyarn added a commit that referenced this pull request Mar 7, 2025
* ci: add pkg.pr.new (#3503)

* fix(select): enhance type handling and improve tag removal logic (#3509)

* fix: fix cjs bundle (#3512)

* fix: code spell error (#3526)

* feat(imageViewer): custom Download Callback (#3516)

* fix: fix cjs build (#3515)

* fix: fix cjs build

* fix: fix cjs build

* chore: fix build

* fix(upload): integrate form disabled state into upload component (#3525)

* fix(Message): fix messagePlugin instance error (#3514)

* fix(Dialog):  custom `cancelBtn` text retains `t-dialog__cancel` className (#3528)

* refactor(DatePicker): `useDisableDate` to use common `isEnabledDate` (#3511)

* chore: release 1.11.1 (#3530)

* chore: release 1.11.1

* chore: optimize

* chore: changelog's changes

---------

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

* chore: release 1.11.1-naruto

---------

Co-authored-by: liweijie0812 <[email protected]>
Co-authored-by: betavs <[email protected]>
Co-authored-by: 阿菜 Cai <[email protected]>
Co-authored-by: Wesley <[email protected]>
Co-authored-by: 阿菜 Cai <[email protected]>
Co-authored-by: maoyiluo <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

[t-upload] 使用表单 disabled 进行控制时,仍能拖拽上传 [Form] 表单设为禁用状态,upload组件仍然可以上传
2 participants