Commit d88915bac3d2735ee3183b0abb69fb2f0d12c845

Authored by Houtaroy
Committed by GitHub
1 parent a1b9bbc2

🐞 fix(Tree): 调整checkedKeys属性的类型 (#2562)

src/components/Tree/src/types/tree.ts
@@ -100,7 +100,7 @@ export const treeProps = buildProps({ @@ -100,7 +100,7 @@ export const treeProps = buildProps({
100 }, 100 },
101 101
102 checkedKeys: { 102 checkedKeys: {
103 - type: Array as PropType<CheckKeys>, 103 + type: [Array, Object] as PropType<CheckKeys>,
104 default: () => [], 104 default: () => [],
105 }, 105 },
106 106