Skip to content

Commit f98986e

Browse files
authored
[elsa] 大模型节点模型下拉框宽度根据下拉选项内容长度自适应 (#115)
1 parent 75f77de commit f98986e

File tree

1 file changed

+1
-0
lines changed
  • framework/elsa/fit-elsa-react/src/components/llm

1 file changed

+1
-0
lines changed

framework/elsa/fit-elsa-react/src/components/llm/Model.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const ModelSelect = ({shapeId, model, serviceName, tag, disabled, modelOptions})
5959
onClick={handleSelectClick} // 点击下拉框时阻止事件冒泡
6060
onChange={(e) => dispatch({type: 'changeAccessInfoConfig', value: e})}
6161
options={modelOptions}
62+
dropdownMatchSelectWidth={false}
6263
/>
6364
</Form.Item>
6465
</>);

0 commit comments

Comments
 (0)