| | |
| | | useGroupOperationBtns as useBoleGroupOperationBtns, |
| | | } from '@bole-core/components'; |
| | | import type { Ref, ComputedRef } from 'vue'; |
| | | import * as baseModuleServices from '@/services/api/BaseModule'; |
| | | import { myClient } from '@/constants/query'; |
| | | |
| | | type UseAccessOptions = { |
| | |
| | | return useBoleAccess({ |
| | | queryKey: ['baseModuleServices/getCurrentSubModuleList', { moduleId }], |
| | | service: async () => { |
| | | return await baseModuleServices.getCurrentSubModuleList({ moduleId }, { showLoading: false }); |
| | | // return await baseModuleServices.getCurrentSubModuleList({ moduleId }, { showLoading: false }); |
| | | return await Promise.resolve({ |
| | | pageButton: [], |
| | | dataButton: [], |
| | | column: [], |
| | | }); |
| | | }, |
| | | ...options, |
| | | }); |