Skip to content

Commit 81a9077

Browse files
authored
[elsa] 解决使用了JadeInputTree组件在下拉框选项时,字体会在加粗和正常font-weight间来回切换的问题 (#43)
1 parent 731d1d4 commit 81a9077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/elsa/fit-elsa-react/src/components/common/JadeInputTree.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@ export const JadeInputTree = (
173173
initialValue={openRadioId}
174174
>
175175
<Radio.Group value={openRadioId ?? undefined} onChange={handleRadioChange}>
176-
<Tree defaultExpandAll={defaultExpandAll} blockNode className='jade-ant-tree' showLine>
176+
<Tree selectable={false} defaultExpandAll={defaultExpandAll} blockNode className='jade-ant-tree' showLine>
177177
{renderTreeNodes(treeData)}
178178
</Tree>
179179
</Radio.Group>
180180
</Form.Item>
181181
) : (
182-
<Tree defaultExpandAll={defaultExpandAll} blockNode className='jade-ant-tree' showLine>
182+
<Tree selectable={false} defaultExpandAll={defaultExpandAll} blockNode className='jade-ant-tree' showLine>
183183
{renderTreeNodes(treeData)}
184184
</Tree>
185185
)}

0 commit comments

Comments
 (0)