Skip to content

Commit a531d7c

Browse files
committed
feature: 优化算子编排展示
1 parent c24f65e commit a531d7c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/pages/DataCleansing/Create/components/OperatorOrchestration.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ const OperatorFlow: React.FC<OperatorFlowProps> = ({
185185
{/* 参数状态指示 */}
186186
{Object.values(operator.configs).some(
187187
(param: any) =>
188-
(param.type === "input" && !param.value) ||
188+
(param.type === "input" && !param.defaultValue) ||
189189
(param.type === "checkbox" &&
190-
Array.isArray(param.value) &&
191-
param.value.length === 0)
190+
Array.isArray(param.defaultValue) &&
191+
param.defaultValue.length === 0)
192192
) && <Tag color="red">待配置</Tag>}
193193
{/* 操作按钮 */}
194194
<span

0 commit comments

Comments
 (0)