From 3ff07fa8d4522b270e7aaf785898b2a70302553b Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 28 Aug 2021 16:56:54 +0800 Subject: [PATCH] perf: update default itemHeight --- components/tree/Tree.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tree/Tree.tsx b/components/tree/Tree.tsx index 842a10e78..1615acdd7 100644 --- a/components/tree/Tree.tsx +++ b/components/tree/Tree.tsx @@ -199,7 +199,7 @@ export default defineComponent({ selectable, fieldNames = props.replaceFields, motion = props.openAnimation, - itemHeight = 20, + itemHeight = 28, } = props; const newProps = { ...attrs,