Tencent / Tencent/tdesign-miniprogram
[Upload 上传] originFiles: [] 选择照片后,显示不出来,原因没有内部字段
Open
Nobody has claimed this yet.
Skyline
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
tdesign-miniprogram 版本
当前最新
重现链接
No response
重现步骤
就复制你们上传图片代码,把originFiles初始化的改成originFiles: [],然后运行,选择多张图片,就会显示不了,再次选择,会把之前也显示。包括其他带数组的都有这种问题。
期望结果
No response
实际结果
No response
基础库版本
No response
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the upload image example and trace how originFiles is handled when initialized as an empty array. Reproduce the issue by selecting multiple photos, then confirm that the initial selection renders and later selections do not duplicate or reveal previously hidden files; check whether other array-valued inputs show the same behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100