wupengfei
3 天以前 5ec8805b2728d9b98383f2b2cdb3298ac3864286
src/hooks/useAccess.ts
@@ -8,7 +8,7 @@
} from '@bole-core/components';
import type { Ref, ComputedRef } from 'vue';
import { myClient } from '@/constants/query';
import * as menuServices from '@/services/api/menu';
import * as authServices from '@/services/api/auth';
type UseAccessOptions = {
  operationBtnMap?: Record<string, OperationBtnType>;
@@ -33,7 +33,7 @@
  return useBoleAccess({
    queryKey: ['baseModuleServices/getCurrentSubModuleList', { moduleId }],
    service: async () => {
      const res = await menuServices.getMenu(
      const res = await authServices.getCurrentLogierMenu(
        { id: moduleId },
        {
          showLoading: false,