From cb795c5827f6e7c0e4d2c1358f27d0862f502b5b Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 11:22:55 +0800 Subject: [PATCH] fix: 修改功能模块 --- src/store/modules/permission.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store/modules/permission.ts b/src/store/modules/permission.ts index f3aa96d..734facd 100644 --- a/src/store/modules/permission.ts +++ b/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, }); }, -- Gitblit v1.9.1