Skip to content

Commit 109b452

Browse files
committed
fix(Form):修复tree关闭弹窗后选中选项无法显示问题
1 parent 6a0feb7 commit 109b452

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)