Procházet zdrojové kódy

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

LuoHaoxuan před 4 roky
rodič
revize
495da69b16
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  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[];
 }