🐛 Fixed dynamic mode wrong index

This commit is contained in:
Covey 2018-09-13 11:07:02 +08:00
parent c4ec8f2022
commit f5fd201aa8
1 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@
}, 30);
}
var index = items.length;
items.push(item);
// console.log(item)
@ -45,7 +46,8 @@
dynamic: true,
download: false,
showThumbByDefault: false,
dynamicEl: items
dynamicEl: items,
index: index
})
});
});