This commit is contained in:
zhangchunsheng 2022-10-18 12:08:17 +08:00
parent 31d83bfe43
commit 21b1007c82
2 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@
"@types/react-redux": "^7.1.16", "@types/react-redux": "^7.1.16",
"@types/react-router-dom": "^5.1.7", "@types/react-router-dom": "^5.1.7",
"@types/react-window": "^1.8.5", "@types/react-window": "^1.8.5",
"@typescript-eslint/eslint-plugin": "^4.29.1", "@typescript-eslint/eslint-plugin": "^5.40.0",
"eslint": "^7.32.0", "eslint": "^8.25.0",
"monaco-editor-webpack-plugin": "^4.1.1", "monaco-editor-webpack-plugin": "^4.1.1",
"prettier": "^2.2.1", "prettier": "^2.2.1",
"react-app-rewired": "^2.1.9", "react-app-rewired": "^2.1.9",

View File

@ -50,7 +50,7 @@ const model: React.FC<CollectionCreateFormProps> = ({
return param_typeArray.map((item: any, index: number) => { return param_typeArray.map((item: any, index: number) => {
if (item === '1') { if (item === '1') {
return ( return (
<Form.Item label={`参数${index + 1}`} name={`parameter${index + 1}`}> <Form.Item label={`参数${index + 1}`} name={`parameter${index + 1}`} key={index}>
<Select style={{ width: '100%' }}> <Select style={{ width: '100%' }}>
{Datalist.map((item: any) => { {Datalist.map((item: any) => {
return ( return (