From bb68ea82eb8340d9e1e22feedfd90c7895f580bf Mon Sep 17 00:00:00 2001 From: wuchao Date: Tue, 15 Feb 2022 13:23:22 +0800 Subject: [PATCH] 1. Explain the necessity of adding node-key in virtual scrolling; 2. Optimize the rendering problem when dom is reused --- README.md | 2 ++ README.zh-CN.md | 2 ++ package.json | 4 ++-- src/components/ve-tree.vue | 4 +++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0be3b74..b2d12fe 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,8 @@ export default { ## Usage: +:warning: When using virtual scrolling, `node-key` must be set + ```html