From 38d58ab47af3611cebade960dbcbd60f165f3a72 Mon Sep 17 00:00:00 2001 From: Zhong <58726932+cszhjh@users.noreply.github.com> Date: Thu, 4 Apr 2024 08:35:17 +0800 Subject: [PATCH] fix(component): resolve the error when clicking on a row when clickRowToExpand is true (#3714) --- src/components/Tree/src/types/tree.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Tree/src/types/tree.ts b/src/components/Tree/src/types/tree.ts index 604adb3e..c879233e 100644 --- a/src/components/Tree/src/types/tree.ts +++ b/src/components/Tree/src/types/tree.ts @@ -91,6 +91,7 @@ export const treeProps = buildProps({ expandedKeys: { type: Array as PropType, + default: () => [], }, selectedKeys: {