From 950cb6a490aeeaf03243fe50de8979a79c1e4091 Mon Sep 17 00:00:00 2001 From: TANG <40519806@qq.com> Date: Thu, 28 May 2020 19:06:27 +0800 Subject: [PATCH 01/55] Fix nextTick tigger before really render --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2121208..a7768a1 100644 --- a/src/index.js +++ b/src/index.js @@ -269,7 +269,7 @@ const VirtualList = Vue.component('virtual-list', { if (dataSource) { if (Object.prototype.hasOwnProperty.call(dataSource, dataKey)) { slots.push(h(Item, { - key: dataSource[dataKey], + // key: dataSource[dataKey], props: { index, tag: itemTag, From d7dedb6b991ad5842089a7ba6366c3191980ab49 Mon Sep 17 00:00:00 2001 From: TANG <40519806@qq.com> Date: Thu, 28 May 2020 19:07:12 +0800 Subject: [PATCH 02/55] Release v2.2.5 --- dist/index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index bcc5e74..565a772 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ /*! - * vue-virtual-scroll-list v2.2.4 + * vue-virtual-scroll-list v2.2.5 * open source under the MIT license * https://github.com/tangbc/vue-virtual-scroll-list#readme */ @@ -855,7 +855,7 @@ if (dataSource) { if (Object.prototype.hasOwnProperty.call(dataSource, dataKey)) { slots.push(h(Item, { - key: dataSource[dataKey], + // key: dataSource[dataKey], props: { index: index, tag: itemTag, diff --git a/package.json b/package.json index e53e540..dc25df2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-virtual-scroll-list", - "version": "2.2.4", + "version": "2.2.5", "description": "A vue component support big amount data list with high scroll performance.", "main": "dist/index.js", "files": [ From 33eda19b86b16902c33c3d5470830352d3820455 Mon Sep 17 00:00:00 2001 From: TANG <40519806@qq.com> Date: Thu, 28 May 2020 19:07:55 +0800 Subject: [PATCH 03/55] Build docs --- docs/index.html | 2 +- docs/index.js | 4 ++-- docs/js/{app.d683905d.js => app.55b03723.js} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename docs/js/{app.d683905d.js => app.55b03723.js} (82%) diff --git a/docs/index.html b/docs/index.html index 65ae809..bde9062 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -
Props | +Prop | Type | Default | Description | @@ -155,7 +155,7 @@ More usages or getting start you can refer to these clearly [examples](https://gestimate-size |
Number | 50 | -The estimate size of each item, if it is closer to the average size, the scrollbar length looks more accurately. It is recommended to assign the average that calculate by yourself. | +The estimate size of each item, if it is closer to the average size, the scrollbar length looks more accurately. It is recommended to assign the average that calculate by yourself. |
---|
Props | +Prop | Type | Default | Description | @@ -278,6 +278,12 @@ More usages or getting start you can refer to these clearly [examples](https://g{} | Item wrapper element inline style. |
---|---|---|---|---|---|---|
item-scoped-slots |
+ Object | +{} | +The $scopedSlots for item component. |
+ |||
header-tag |
String | @@ -314,12 +320,6 @@ More usages or getting start you can refer to these clearly [examples](https://g{} | For using using footer slot, footer slot wrapper element inline style. | |||
item-scoped-slots |
- Object | -{} | -The $scopedSlots for item component |
-