🐛 Fixed dynamic mode wrong index

This commit is contained in:
Covey 2018-09-13 11:07:02 +08:00
parent c4ec8f2022
commit f5fd201aa8

View File

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