[release-1.6] perf: batch add to photos in order of image selection (#637)

pull/639/head
Halo Dev Bot 2022-10-10 17:58:56 +08:00 committed by GitHub
parent 205fa09960
commit a7399e8988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ export default {
if (!raw.length) {
return
}
const photosToStage = raw.map(attachment => {
const photosToStage = raw.reverse().map(attachment => {
return {
name: attachment.name,
url: attachment.path,