Skip to content

Commit b3fea35

Browse files
committed
Release v2.2.6
1 parent fd24e0a commit b3fea35

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dist/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue-virtual-scroll-list v2.2.5
2+
* vue-virtual-scroll-list v2.2.6
33
* open source under the MIT license
44
* https://github.com/tangbc/vue-virtual-scroll-list#readme
55
*/
@@ -571,10 +571,12 @@
571571
extraProps = _this$extraProps === void 0 ? {} : _this$extraProps,
572572
index = this.index,
573573
_this$scopedSlots = this.scopedSlots,
574-
scopedSlots = _this$scopedSlots === void 0 ? {} : _this$scopedSlots;
574+
scopedSlots = _this$scopedSlots === void 0 ? {} : _this$scopedSlots,
575+
uniqueKey = this.uniqueKey;
575576
extraProps.source = this.source;
576577
extraProps.index = index;
577578
return h(tag, {
579+
key: uniqueKey,
578580
attrs: {
579581
role: 'item'
580582
}
@@ -592,6 +594,7 @@
592594
var tag = this.tag,
593595
uniqueKey = this.uniqueKey;
594596
return h(tag, {
597+
key: uniqueKey,
595598
attrs: {
596599
role: uniqueKey
597600
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-virtual-scroll-list",
3-
"version": "2.2.5",
3+
"version": "2.2.6",
44
"description": "A vue component support big amount data list with high scroll performance.",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)