diff --git a/shared/cache/utils.ts b/shared/cache/utils.ts index e52d2690..46a7eeb4 100644 --- a/shared/cache/utils.ts +++ b/shared/cache/utils.ts @@ -7,7 +7,7 @@ import { queryClient } from './'; * TODO: 这里的类型真的不好写, 先用any来过滤内部的, 只保证外部使用ok * * @example - * const queryData = buildCachedRequest('key')((arg1, arg2) => { + * const queryData = buildCachedRequest('key', (arg1, arg2) => { * return request.post(...) * }) */