tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

fix(file-upload): The file size limit in the EDM upload mode is invalid.

Open discreted66 opened this issue 1 month ago • 1 comments

PR

fix:修复edm上传模式,文件大小限制失效

PR Checklist

Please check if your PR fulfills the following requirements:

  • [ ] The commit message follows our Commit Message Guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Documentation content changes
  • [ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • [ ] Yes
  • [ ] No

Other information

Summary by CodeRabbit

  • Bug Fixes
    • Improved file upload size validation: now correctly prioritizes configured size limits from multiple sources, handles array-based max-size inputs, and applies consistent unit conversion.
    • Expanded and more accurate file-size violation notifications so users receive clearer feedback when uploads exceed limits.

discreted66 avatar Nov 13 '25 03:11 discreted66