refactor: 移除vue-query相关代码及依赖

移除所有与vue-query相关的代码文件、依赖项和配置
清理不再需要的类型定义和导出
更新openapi生成配置禁用reactQuery模式
This commit is contained in:
feige996
2025-09-17 13:57:36 +08:00
parent cecbb38a40
commit 938a9dc43e
16 changed files with 236 additions and 485 deletions

View File

@@ -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],
})
}