MCPcopy Create free account
hub / github.com/chunshand/qdev / FetchSelectProps

Interface FetchSelectProps

admin/src/hooks/useFetchSelect.ts:20–22  ·  view source on GitHub ↗

入参格式,暂时只需要传递 api 函数即可

Source from the content-addressed store, hash-verified

18
19/** 入参格式,暂时只需要传递 api 函数即可 */
20interface FetchSelectProps {
21 api: () => Promise<ApiData>
22}
23
24export function useFetchSelect(props: FetchSelectProps) {
25 const { api } = props

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected