ソースを参照

refactor & perf: declare const object outside component `VarReferencePicker` (#17496)

tags/1.2.0
yusheng chen 6ヶ月前
コミット
e3dc9f3c31
コミッターのメールアドレスに関連付けられたアカウントが存在しません

+ 3
- 1
web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx ファイルの表示

@@ -68,12 +68,14 @@ type Props = {
zIndex?: number
}

const DEFAULT_VALUE_SELECTOR: Props['value'] = []

const VarReferencePicker: FC<Props> = ({
nodeId,
readonly,
className,
isShowNodeName = true,
value = [],
value = DEFAULT_VALUE_SELECTOR,
onOpen = noop,
onChange,
isSupportConstantValue,

読み込み中…
キャンセル
保存