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

chore(upload): use uid && fix handleDelete #3872

Merged
merged 3 commits into from
May 31, 2024

Conversation

electroluxcode
Copy link

@electroluxcode electroluxcode commented May 24, 2024

General

✏️ Mark the necessary items without changing the structure of the PR template.

  • Pull request template structure not broken

Type

ℹ️ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

fix #3867
fix #3871
fix #3850
使用者像之前一个传入 file 的 list 和 list[] 的时候不会受影响,在此基础上跟imgUpload一样添加了对单个值的处理(例如:"url")。绑定的form表单值也不会收到影响。

然后受到最大影响的是 暴露出来的 handleDelete 和 handleAdd,这两者传参进行了重构

@wangjue666 wangjue666 merged commit d9cdf3f into vbenjs:main May 31, 2024
2 checks passed
@vbenjs vbenjs locked and limited conversation to collaborators Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants