Browse Source

fix(tree): remove expandedKeys prop default value (#3184)

bowen 1 năm trước cách đây
mục cha
commit
92875cbecc
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/components/Tree/src/types/tree.ts

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

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