Browse Source

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

LuoHaoxuan 3 years ago
parent
commit
783db64881
1 changed files with 1 additions and 1 deletions
  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;
 }
 
 // 步骤里的事项