MCPcopy Create free account

hub / github.com/SilentFlute/umi4-admin / functions

Functions43 in github.com/SilentFlute/umi4-admin

↓ 7 callersFunctionhandleCommonRes
(data: Record<string, unknown> | Record<string, unknown>[], code = 0)
mock/user.ts:14
↓ 5 callersFunctionwaitTime
(time: number = 100)
mock/user.ts:3
↓ 2 callersFunctionhandleGetEachDatumFromNestedDataByKey
( data: T[], key: keyof T, //确定key的类型为T的键名 )
src/utils/handleGetEachDatumFromNestedDataByKey.ts:7
↓ 2 callersFunctionretrieveMenuData
()
src/services/user.ts:19
↓ 2 callersFunctionretrieveUserAuthority
()
src/services/user.ts:14
↓ 1 callersFunctionhandleGetCurrentLocation
( currentMenuItem: API.MenuItem | undefined, indexAllMenuItemById: IndexAllMenuItemByKey<'id'>, )
src/utils/handleGetCurrentLocation.ts:9
↓ 1 callersFunctionhandleGetIndexValidMenuItemByPath
( menu: API.MenuData, )
src/utils/handleGetIndexValidMenuItemByPath.ts:6
↓ 1 callersFunctionhandleGetOpenKeys
(currentLocation: API.MenuItem[] | [])
src/layouts/index.tsx:21
↓ 1 callersFunctionhandleGetRootSubmenuKeys
(menu: API.MenuData)
src/utils/handleGetRootSubmenuKeys.ts:6
↓ 1 callersFunctionhandleRecursiveNestedData
( data: API.MenuItem[], datumCb: (datum: API.MenuItem) => API.MenuItem, )
src/utils/handleRecursiveNestedData.ts:7
↓ 1 callersFunctionhandleSubmit
(values: API.LoginParams)
src/pages/user/login/index.tsx:23
↓ 1 callersFunctionretrieveCaptcha
(params: Record<string, string>)
src/services/user.ts:46
↓ 1 callersFunctionretrieveUserInfo
()
src/services/user.ts:9
FunctionAccess
(props)
src/components/Access.tsx:12
FunctionAvatar
(props)
src/components/Avatar/index.tsx:8
FunctionBasicLayout
(props)
src/layouts/index.tsx:41
FunctionFooter
()
src/components/Footer.tsx:5
FunctionIndex
(props)
src/pages/user/login/index.tsx:19
FunctionIndex
()
src/pages/teacher/u/index.tsx:3
FunctionIndex
()
src/pages/teacher/um/index.tsx:3
FunctionIndex
()
src/pages/teacher/m/index.tsx:3
FunctionIndex
()
src/pages/about/index.tsx:3
FunctionIndex
()
src/pages/about/u/$id.tsx:3
FunctionIndex
()
src/pages/about/m/index.tsx:7
FunctionLayoutWrapper
(props)
src/components/LayoutWrapper.tsx:14
FunctionNav
()
src/components/Nav/index.tsx:6
FunctionPageAccess
(props)
src/components/PageAccess.tsx:12
Function_404
()
src/pages/404.tsx:5
FunctiongetUserInfoAuthorityMenu
({ payload }, { call, put })
src/models/user.ts:141
FunctionhandleLogout
()
src/components/Avatar/index.tsx:13
FunctionhandleRedirect
( isLoginPage: boolean, indexAllMenuItemByPath: IndexAllMenuItemByKey<'path'>, indexValidMenuItemByPath:
src/utils/handleRedirect.ts:14
Functionlogin
({ payload }, { call, put })
src/models/user.ts:110
Functionlogout
({ payload }, { call, put })
src/models/user.ts:222
FunctiononOpenChange
(keys)
src/layouts/index.tsx:74
Methodrender
()
src/pages/index.tsx:7
Methodrender
()
src/pages/about/u/index.tsx:5
Methodrender
()
src/pages/about/um/index.tsx:5
FunctionresetLoginStatus
(_, { put })
src/models/user.ts:232
FunctionretrieveUserAuthorityMenu
()
src/services/user.ts:33
FunctionretrieveUserInfoAuthorityMenu
()
src/services/user.ts:24
Functionsave
(state, action)
src/models/user.ts:254
FunctionuserLogin
(params: Record<string, unknown>)
src/services/user.ts:4
FunctionuserLogout
()
src/services/user.ts:41