Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SilentFlute/umi4-admin
/ functions
Functions
43 in github.com/SilentFlute/umi4-admin
⨍
Functions
43
◇
Types & classes
7
↓ 7 callers
Function
handleCommonRes
(data: Record<string, unknown> | Record<string, unknown>[], code = 0)
mock/user.ts:14
↓ 5 callers
Function
waitTime
(time: number = 100)
mock/user.ts:3
↓ 2 callers
Function
handleGetEachDatumFromNestedDataByKey
( data: T[], key: keyof T, //确定key的类型为T的键名 )
src/utils/handleGetEachDatumFromNestedDataByKey.ts:7
↓ 2 callers
Function
retrieveMenuData
()
src/services/user.ts:19
↓ 2 callers
Function
retrieveUserAuthority
()
src/services/user.ts:14
↓ 1 callers
Function
handleGetCurrentLocation
( currentMenuItem: API.MenuItem | undefined, indexAllMenuItemById: IndexAllMenuItemByKey<'id'>, )
src/utils/handleGetCurrentLocation.ts:9
↓ 1 callers
Function
handleGetIndexValidMenuItemByPath
( menu: API.MenuData, )
src/utils/handleGetIndexValidMenuItemByPath.ts:6
↓ 1 callers
Function
handleGetOpenKeys
(currentLocation: API.MenuItem[] | [])
src/layouts/index.tsx:21
↓ 1 callers
Function
handleGetRootSubmenuKeys
(menu: API.MenuData)
src/utils/handleGetRootSubmenuKeys.ts:6
↓ 1 callers
Function
handleRecursiveNestedData
( data: API.MenuItem[], datumCb: (datum: API.MenuItem) => API.MenuItem, )
src/utils/handleRecursiveNestedData.ts:7
↓ 1 callers
Function
handleSubmit
(values: API.LoginParams)
src/pages/user/login/index.tsx:23
↓ 1 callers
Function
retrieveCaptcha
(params: Record<string, string>)
src/services/user.ts:46
↓ 1 callers
Function
retrieveUserInfo
()
src/services/user.ts:9
Function
Access
(props)
src/components/Access.tsx:12
Function
Avatar
(props)
src/components/Avatar/index.tsx:8
Function
BasicLayout
(props)
src/layouts/index.tsx:41
Function
Footer
()
src/components/Footer.tsx:5
Function
Index
(props)
src/pages/user/login/index.tsx:19
Function
Index
()
src/pages/teacher/u/index.tsx:3
Function
Index
()
src/pages/teacher/um/index.tsx:3
Function
Index
()
src/pages/teacher/m/index.tsx:3
Function
Index
()
src/pages/about/index.tsx:3
Function
Index
()
src/pages/about/u/$id.tsx:3
Function
Index
()
src/pages/about/m/index.tsx:7
Function
LayoutWrapper
(props)
src/components/LayoutWrapper.tsx:14
Function
Nav
()
src/components/Nav/index.tsx:6
Function
PageAccess
(props)
src/components/PageAccess.tsx:12
Function
_404
()
src/pages/404.tsx:5
Function
getUserInfoAuthorityMenu
({ payload }, { call, put })
src/models/user.ts:141
Function
handleLogout
()
src/components/Avatar/index.tsx:13
Function
handleRedirect
( isLoginPage: boolean, indexAllMenuItemByPath: IndexAllMenuItemByKey<'path'>, indexValidMenuItemByPath:
src/utils/handleRedirect.ts:14
Function
login
({ payload }, { call, put })
src/models/user.ts:110
Function
logout
({ payload }, { call, put })
src/models/user.ts:222
Function
onOpenChange
(keys)
src/layouts/index.tsx:74
Method
render
()
src/pages/index.tsx:7
Method
render
()
src/pages/about/u/index.tsx:5
Method
render
()
src/pages/about/um/index.tsx:5
Function
resetLoginStatus
(_, { put })
src/models/user.ts:232
Function
retrieveUserAuthorityMenu
()
src/services/user.ts:33
Function
retrieveUserInfoAuthorityMenu
()
src/services/user.ts:24
Function
save
(state, action)
src/models/user.ts:254
Function
userLogin
(params: Record<string, unknown>)
src/services/user.ts:4
Function
userLogout
()
src/services/user.ts:41