perf: batch add to photos in order of image selection (#631)

master
Zhai Jiayu 2022-10-10 16:42:41 +08:00 committed by GitHub
parent 205fa09960
commit e21ef827d9
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,