From 92b5dc2b27d4dd464b697eea9a4d52d325a187f9 Mon Sep 17 00:00:00 2001 From: sikaco Date: Tue, 25 Dec 2018 15:26:32 +0800 Subject: [PATCH] =?UTF-8?q?feature(schema):=20=E4=BD=BF=20childProjectIds?= =?UTF-8?q?=20=E4=B8=BA=E5=8F=AF=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 ProjectTagSchema 的 childProjectIds 为可选,以便与后端实际返回的数据一致。 for hotfix: https://code.teambition.com/project/web/merge_requests/3716 --- src/schemas/ProjectTag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schemas/ProjectTag.ts b/src/schemas/ProjectTag.ts index 57001ee3d..73a26bdab 100644 --- a/src/schemas/ProjectTag.ts +++ b/src/schemas/ProjectTag.ts @@ -8,7 +8,7 @@ export interface ProjectTagSchema { name: string pos: number projectIds: ProjectId[] // 该分组下的项目的 ids - childProjectIds: ProjectId[] // 该分组子分组(递归)下的项目的 ids + childProjectIds?: ProjectId[] // 该分组子分组(递归)下的项目的 ids _creatorId?: UserId isDeleted: boolean isStar: boolean