From a28b62763eaa9678b9d56cdac39e3a866e112d5f Mon Sep 17 00:00:00 2001 From: zhaoying Date: Fri, 17 Apr 2026 20:48:17 +0800 Subject: [PATCH] fix(web): CaseItem interface --- .../Workflow/components/Properties/CaseList/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/views/Workflow/components/Properties/CaseList/index.tsx b/web/src/views/Workflow/components/Properties/CaseList/index.tsx index bdf516bc..2fd24628 100644 --- a/web/src/views/Workflow/components/Properties/CaseList/index.tsx +++ b/web/src/views/Workflow/components/Properties/CaseList/index.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-09 18:24:53 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-04-17 20:45:31 + * @Last Modified time: 2026-04-17 20:47:49 */ import { useEffect, useMemo, type FC } from 'react' import clsx from 'clsx' @@ -22,8 +22,8 @@ import { typeOptions } from '../ListOperator/FilterConditions' interface SubCondition { key: string; operator: string; - value: string | number; - input_type: string; + value?: string | number; + input_type?: string; } interface SubVariableCondition { @@ -32,8 +32,8 @@ interface SubVariableCondition { } interface Expression { - left: string; - operator: string; + left?: string; + operator?: string; right?: string | number; input_type?: string; sub_variable_condition?: SubVariableCondition;