UploadFile 本地文件名与服务器端文件名问题 #6829
-
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.如题,DropUpLoad使用了UploadFile实例,根据定义FileName应该由用户定义,例如文件服务分配的ID,UI上使用的是OriginFileName,但是如果向FileName赋值,下方的文件列表中的名称会显示成该值而不是实际文件名。当然如果让下方的List永远显示OriginFileName也是可以的,谢谢! Describe the solution you'd likeNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
@huangchengxa Thank you for reporting. We will give triage later. |
Beta Was this translation helpful? Give feedback.
-
@huangchengxa 首先感谢提交 Issue 联系我们,但是非常抱歉没有读明白,能否按照格式规范写,比如,期望是什么,实际是什么,贴图画框标注箭头 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@huangchengxa 我这里没有复现,请提供最小复现工程,我猜是你的代码里有问题 |
Beta Was this translation helpful? Give feedback.
-
@huangchengxa 这个 |
Beta Was this translation helpful? Give feedback.
@huangchengxa 这个
UploadFile
就是这样设计,未上传时只能显示本地文件名称,你保存后文件必须显示服务器端的名称,如果你希望与客户端哪里一直,保存时不改名即可,但是会增加很大概率重名,覆盖等问题