Bläddra i källkod

feat(types): 修改IProcessComponent的componentTitle必要性

LuoHaoxuan 3 år sedan
förälder
incheckning
783db64881
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      types/src/interface/matter.ts

+ 1 - 1
types/src/interface/matter.ts

@@ -108,7 +108,7 @@ export interface IProcessComponent<T = any> {
   // 组件数据
   data?: T | null;
   // 组件标题
-  componentTitle: string;
+  componentTitle?: string;
 }
 
 // 步骤里的事项