From 7b297b8e13f067322169aaff2e5ac66b4e41543b Mon Sep 17 00:00:00 2001 From: wuchao Date: Wed, 6 Apr 2022 16:00:37 +0800 Subject: [PATCH] Fix render delay issue when component is reused --- package.json | 2 +- src/components/ve-tree.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6b01aa6..02bfa0d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@wchbrad/vue-easy-tree", "description": "A Vue.js project", - "version": "1.0.6", + "version": "1.0.7", "author": "wchbrad ", "license": "MIT", "private": false, diff --git a/src/components/ve-tree.vue b/src/components/ve-tree.vue index d4789b8..acfbf17 100644 --- a/src/components/ve-tree.vue +++ b/src/components/ve-tree.vue @@ -20,9 +20,10 @@ :items="dataList" :item-size="26" :buffer="50" - v-slot="{ item }" + v-slot="{ active,item }" >