Эх сурвалжийг харах

fix(component): resolve the error when clicking on a row when clickRowToExpand is true (#3714)

Zhong 1 жил өмнө
parent
commit
38d58ab47a

+ 1 - 0
src/components/Tree/src/types/tree.ts

@@ -91,6 +91,7 @@ export const treeProps = buildProps({
 
   expandedKeys: {
     type: Array as PropType<KeyType[]>,
+    default: () => [],
   },
 
   selectedKeys: {