Initial commit: 网络验证平台

This commit is contained in:
Admin
2026-04-27 17:22:56 +08:00
commit afe67d704e
780 changed files with 88960 additions and 0 deletions
@@ -0,0 +1,18 @@
import type { App } from 'vue'
import { QueryClient, VueQueryPlugin } from '@tanstack/vue-query'
const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: 1000 * 60 * 5,
},
},
})
export function setupTanstackVueQuery(app: App) {
app.use(VueQueryPlugin, {
enableDevtoolsV6Plugin: true,
queryClient,
})
}