فهرست منبع

默认类型 workflow

visuddhinanda 1 سال پیش
والد
کامیت
16f8bfc281
1فایلهای تغییر یافته به همراه1 افزوده شده و 9 حذف شده
  1. 1 9
      dashboard-v4/dashboard/src/components/task/ProjectCreate.tsx

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

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