diff --git a/src/index.js b/src/index.js index 540a995..1cc4b61 100644 --- a/src/index.js +++ b/src/index.js @@ -269,6 +269,7 @@ const VirtualList = Vue.component('virtual-list', { if (dataSource) { if (Object.prototype.hasOwnProperty.call(dataSource, dataKey)) { slots.push(h(Item, { + key: dataSource[dataKey], props: { index, tag: itemTag,