perf: 优化工作流的节点UI和交互
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
{#if param.refType === 'fixed'}
|
||||
<Input value={param.value} placeholder="请输入参数值" oninput={(event)=>updateParamByEvent('value', event)} />
|
||||
{:else if (param.refType !== 'input')}
|
||||
<Select items={selectItems.current} style="width: 100%" defaultValue={["ref"]} value={[param.ref]}
|
||||
<Select items={selectItems.current} style="width: 100%" defaultValue={["ref"]} value={[param.ref]} variant="reference"
|
||||
expandAll
|
||||
onSelect={updateRef} />
|
||||
{/if}
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
{#if param.refType === 'fixed'}
|
||||
<Input value={param.value} placeholder="请输入参数值" oninput={(event)=>updateParamByEvent('value', event)} />
|
||||
{:else if (param.refType !== 'input')}
|
||||
<Select items={selectItems.current} style="width: 100%" defaultValue={["ref"]} value={[param.ref]}
|
||||
<Select items={selectItems.current} style="width: 100%" defaultValue={["ref"]} value={[param.ref]} variant="reference"
|
||||
expandAll
|
||||
onSelect={updateRef} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user