Skip to content

Commit c99be70

Browse files
authored
Merge pull request #610 from panbibi/dev
fix(Form):修复tree关闭弹窗后选中选项无法显示问题
2 parents 70e856c + f9554a9 commit c99be70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/Form/comps/tree.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const FormTree = ({
100100
<Modal visible={visible} placement="bottom" onClosed={() => setVisible(false)}>
101101
<ScrollView style={{ height: 400 }}>
102102
<Tree
103+
defaultCheckedKeys={value}
103104
treeData={options}
104105
defaultExpandAll
105106
onCheck={(value: any) => {

0 commit comments

Comments
 (0)