src/store/modules/permission.ts
@@ -29,13 +29,13 @@ return new Promise<Route[]>(async (resolve, reject) => { try { const params: API.APIgetMenusParams = { userType: EnumUserType.Operation, clientType: EnumClientType.PcWeb, userType: AppLocalConfig.userType, clientType: AppLocalConfig.clientType, }; const res = await myClient.fetchQuery({ queryKey: ['menuServices/getMenus', params], queryFn: async () => { return await menuServices.getMenus(params, { queryFn: () => { return menuServices.getMenus(params, { showLoading: false, }); },