feat: workflow remove preview mode (#3941)

This commit is contained in:
zxhlyh 2024-04-28 17:09:56 +08:00 • committed by GitHub
commit 8e4989ed03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 549 additions and 309 deletions

View file

@ -56,12 +56,13 @@ const UserInput = () => {
expanded && (
<div className='py-2 text-[13px] text-gray-900'>
{
variables.map(variable => (
variables.map((variable, index) => (
<div
key={variable.variable}
className='mb-2 last-of-type:mb-0'
>
<FormItem
autoFocus={index === 0}
payload={variable}
value={inputs[variable.variable]}
onChange={v => handleValueChange(variable.variable, v)}