From 8a20db630014c6fd536f9a1f7e22b8005d6f5eac Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 15 十月 2025 13:35:18 +0800
Subject: [PATCH] fix: bug
---
src/hooks/useAccess.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hooks/useAccess.ts b/src/hooks/useAccess.ts
index 0c61411..fb68fca 100644
--- a/src/hooks/useAccess.ts
+++ b/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,
--
Gitblit v1.9.1