Skip to content

Commit 92957a9

Browse files
committed
Merge branch '3.5.x'
2 parents 5bea57e + dbbdec7 commit 92957a9

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

framework/elsa/fit-elsa-react/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
".": {
1313
"import": "./build/elsa-react.js",
1414
"require": "./build/elsa-react.umd.cjs"
15-
}
15+
},
16+
"./locales/en.json": "./src/i18n/en_US.json",
17+
"./locales/zh.json": "./src/i18n/zh_CN.json"
1618
},
1719
"scripts": {
1820
"dev": "vite",

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
</>);
File renamed without changes.
File renamed without changes.
File renamed without changes.

framework/elsa/fit-elsa-react/src/main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import ReactDOM from 'react-dom/client';
88
import App from './App.jsx';
9-
import i18n from './i18n.js';
9+
import i18n from './i18n/i18n.js';
1010

1111
ReactDOM.createRoot(document.getElementById('root')).render(
1212
// 打开strictMode会导致每个组件被加载两次,测试某些功能时可以打开

0 commit comments

Comments
 (0)