Procházet zdrojové kódy

feat(types): 权限

lipk před 2 roky
rodič
revize
0019b26f13
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      types/src/interface/process.ts

+ 1 - 1
types/src/interface/process.ts

@@ -84,7 +84,7 @@ export interface IRole {
   roleType: RoleType;
   frontPermission: RolePermission[];
   backstagePermission: string[]; // 后台权限
-  dataPermission: { businessLedger: EDataPermissionBusinessLedger[] };
+  dataPermission: { businessLedger?: EDataPermissionBusinessLedger[] };
 }
 
 // 参与者模式