wupengfei
2025-08-06 c5742b6e6eadda91a0cd99ebcc51d27d0f344c73
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,
              });
            },