refactor: 移除vue-query相关代码及依赖
移除所有与vue-query相关的代码文件、依赖项和配置 清理不再需要的类型定义和导出 更新openapi生成配置禁用reactQuery模式
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
import { queryOptions } from '@tanstack/vue-query'
|
||||
import { getFooAPI } from './foo'
|
||||
|
||||
export function getFooQueryOptions(name: string) {
|
||||
return queryOptions({
|
||||
queryFn: async ({ queryKey }) => {
|
||||
return getFooAPI(queryKey[1])
|
||||
},
|
||||
queryKey: ['getFoo', name],
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user