Explorar el Código

feat(types): 权限

lipk hace 2 años
padre
commit
0019b26f13
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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[] };
 }
 
 // 参与者模式