mirror of https://github.com/halo-dev/halo-admin
perf: batch add to photos in order of image selection (#631)
parent
205fa09960
commit
e21ef827d9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue