Просмотр исходного кода

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

LuoHaoxuan 3 лет назад
Родитель
Сommit
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;
 }
 
+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[];
 }