fix: 新增发布页面处理

This commit is contained in:
奔跑的面条
2022-06-03 14:48:58 +08:00
parent ae1fd2e7cf
commit 88dbbe03ea
7 changed files with 164 additions and 34 deletions
+7 -4
View File
@@ -15,14 +15,17 @@ export enum ProjectInfoEnum {
// 描述
REMARKS = 'remarks',
// 缩略图
THUMBNAIL= 'thumbnail'
THUMBNAIL= 'thumbnail',
// 是否公开发布
RELEASE = 'release'
}
// 项目数据
export type ProjectInfoType = {
projectName: string,
remarks: string,
thumbnail: string
[ProjectInfoEnum.PROJECT_NAME]: string,
[ProjectInfoEnum.REMARKS]: string,
[ProjectInfoEnum.THUMBNAIL]: string,
[ProjectInfoEnum.RELEASE]: boolean
}
// 编辑画布属性