[Enhancement] [upload] upload多选文件时的文件排序顺序 (upload file selected sort ) #16538
wx256
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
upload
Description
upload多选时默认按选择的文件名字排序(1.jpg 2.jpg 3.jpg),但用户可能是跳着选文件的(3.jpg 1.jpg 2.jpg),此时还是强制按名称排序,无法满足业务需求,原本打算从object:uid/lastModified下手,但是发现这2个参数的时间戳也是强制排序的,希望得到以下功能增强
1,提供upload参数,isSort,是否排序
2,目前有个时间戳属性lastModified,再额外新增个属性selectedModified,标记下文件的选择时间,这样开发者能自己判断对文件排序,当然,第1个方案(isSort)更好
-----------------------English----------------
1,I need one param with upload, is isSort,if true:Select file, force sorting by file name, if else:User selection order
2,Or provide me with an attribute, Similar attribute uid/lastModified,I need an attribute like selectedModified,return sorting of user selected file time,this can also be done
thank you~
Additional comments
(empty)
0 votes ·
Beta Was this translation helpful? Give feedback.
All reactions