From 60b9c62a3165f304a933cbac304ac3d43a24f722 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 17 四月 2025 09:25:09 +0800
Subject: [PATCH] fix: 优化

---
 apps/h5/src/constants/query.ts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/apps/h5/src/constants/query.ts b/apps/h5/src/constants/query.ts
new file mode 100644
index 0000000..338dd9b
--- /dev/null
+++ b/apps/h5/src/constants/query.ts
@@ -0,0 +1,10 @@
+import { QueryClient } from '@tanstack/vue-query';
+
+export const myClient = new QueryClient({
+  defaultOptions: {
+    queries: {
+      refetchOnWindowFocus: false,
+      retry: false,
+    },
+  },
+});

--
Gitblit v1.9.1