Skip to content

Commit ba2ca7a

Browse files
committed
Release v2.2.2
1 parent cf4d0c7 commit ba2ca7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue-virtual-scroll-list v2.2.1
2+
* vue-virtual-scroll-list v2.2.2
33
* open source under the MIT license
44
* https://github.com/tangbc/vue-virtual-scroll-list#readme
55
*/
@@ -376,7 +376,7 @@
376376
*/
377377
var VirtualProps = {
378378
dataKey: {
379-
type: String,
379+
type: [String, Number],
380380
required: true
381381
},
382382
dataSources: {
@@ -495,7 +495,7 @@
495495
type: [Object, Function]
496496
},
497497
uniqueKey: {
498-
type: String
498+
type: [String, Number]
499499
},
500500
extraProps: {
501501
type: Object

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.1",
3+
"version": "2.2.2",
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)