Kaynağa Gözat

fix(types): 修改三合一分支interface

LuoHaoxuan 3 yıl önce
ebeveyn
işleme
495da69b16
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      types/src/interface/process.ts

+ 5 - 1
types/src/interface/process.ts

@@ -139,10 +139,14 @@ export interface IConditionItem {
   value: string;
 }
 
+export interface ICondition {
+  condition: IConditionItem[];
+}
+
 // 3合1分支条件信息
 export interface IConditionInfoItem {
   ID: string;
-  specificCondition: IConditionItem[][];
+  specificCondition: ICondition[];
   // eslint-disable-next-line prettier/prettier, no-use-before-define
   process: IProcedureProcess[];
 }