Browse Source

feat(types): 编辑文件,禁止修改父节点

lipk 2 years ago
parent
commit
ca64dfee48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      types/src/interface/api/approvaApi.ts

+ 1 - 1
types/src/interface/api/approvaApi.ts

@@ -91,7 +91,7 @@ export namespace PostApprovalMoveTo {
 
 export namespace PostApprovalCreateFile {
   export type Params = {
-    parentID: string;
+    parentID?: string;
     name: string;
     required: boolean;
     mode: string[];