Explorar o código

fix typecheck

Michael Wang %!s(int64=3) %!d(string=hai) anos
pai
achega
e6c03fc9c4
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/api/mainLayout.ts

+ 1 - 2
src/api/mainLayout.ts

@@ -20,13 +20,12 @@ interface StuMenuOption {
   name: string;
   routeCode: string;
   weight: number;
-  [propName: any]: any;
+  [propName: string]: any;
 }
 /** 获取用户菜单 */
 export async function studentClientMenuApi(rootOrgId: number) {
   return httpApp.get<any, { data: StuMenuOption[] }>(
     "/api/ecs_core/rolePrivilege/getStudentClientMenu",
-    null,
     { params: { rootOrgId } }
   );
 }