Răsfoiți Sursa

默认类型 workflow

visuddhinanda 1 an în urmă
părinte
comite
16f8bfc281

+ 1 - 9
dashboard-v4/dashboard/src/components/task/ProjectCreate.tsx

@@ -11,17 +11,9 @@ import { useRef } from "react";
 import {
   IProjectCreateRequest,
   IProjectResponse,
-  ITaskCreateRequest,
-  ITaskResponse,
   TProjectType,
 } from "../api/task";
 
-interface IFormData {
-  title: string;
-  lang: string;
-  studio: string;
-}
-
 interface IWidgetCourseCreate {
   studio?: string;
   type?: TProjectType;
@@ -29,7 +21,7 @@ interface IWidgetCourseCreate {
 }
 const TaskCreate = ({
   studio = "",
-  type = "normal",
+  type = "workflow",
   onCreate,
 }: IWidgetCourseCreate) => {
   const intl = useIntl();