支持任务参数为多行输入类型

This commit is contained in:
pengluan 2022-06-06 12:31:37 +08:00
parent 89959e964d
commit 93d9567f47
8 changed files with 19125 additions and 295 deletions

View File

@ -1,7 +1,7 @@
{
"files": {
"main.js": "./static/js/main.9f7a1ee6.js",
"static/js/805.7a8b96b5.chunk.js": "./static/js/805.7a8b96b5.chunk.js",
"main.js": "./static/js/main.816a1059.js",
"static/js/805.37ecf877.chunk.js": "./static/js/805.37ecf877.chunk.js",
"static/js/31.c3bb78a9.chunk.js": "./static/js/31.c3bb78a9.chunk.js",
"static/js/392.6cc16ad5.chunk.js": "./static/js/392.6cc16ad5.chunk.js",
"static/js/127.bc34d4d5.chunk.js": "./static/js/127.bc34d4d5.chunk.js",
@ -14,6 +14,6 @@
"index.html": "./index.html"
},
"entrypoints": [
"static/js/main.9f7a1ee6.js"
"static/js/main.816a1059.js"
]
}

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="./manifest.json"/><title>机器学习平台</title><script defer="defer" src="./static/js/main.9f7a1ee6.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="./manifest.json"/><title>机器学习平台</title><script defer="defer" src="./static/js/main.816a1059.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -352,8 +352,8 @@ const Model: React.FC<ModelProps> = props => {
></div>
);
}}
multiline={args.type === 'json'}
autoAdjustHeight={args.type === 'json'}
multiline={args.type !== 'str'}
autoAdjustHeight={args.type !== 'str'}
onChange={(event: FormEvent, value?: string) => {
handleOnChange(key, value ? value : '', args.type);
}}
@ -369,7 +369,7 @@ const Model: React.FC<ModelProps> = props => {
acc.push(
(
<React.Fragment key={cur}>
<Label> {cur}</Label>
<Label> {cur}</Label>
{mapCurrent.flat()}
<div className={style.splitLine}></div>
</React.Fragment>