Преглед на файлове

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

LuoHaoxuan преди 4 години
родител
ревизия
495da69b16
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      types/src/interface/process.ts

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

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