MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / useURLParams

Function useURLParams

web/packages/shared/hooks/useURLParams.ts:37–39  ·  view source on GitHub ↗
(filterFields: FilterField[] = [])

Source from the content-addressed store, hash-verified

35
36/** 根据路由变化,获取参数 */
37const useURLParams = (filterFields: FilterField[] = []) => useMemo(() => getURLParams(filterFields), [
38 window.location.search,
39]);
40
41export default useURLParams;

Callers 15

UsersFunction · 0.90
ToolsFunction · 0.90
JobsFunction · 0.90
OrgsFunction · 0.90
ProjectTeamsFunction · 0.90
NodeTableFunction · 0.90
TemplateFunction · 0.90
SchemeListFunction · 0.90
ReposFunction · 0.90
BranchsFunction · 0.90
RuleTableFunction · 0.90
AllRuleTableFunction · 0.90

Calls 1

getURLParamsFunction · 0.85

Tested by

no test coverage detected