From fe7d6323fb2d1c425be239c5a281abbb3df674e6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 30 十二月 2025 16:33:46 +0800
Subject: [PATCH] fix: bug
---
packages/hooks/dic.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/hooks/dic.ts b/packages/hooks/dic.ts
index d6fc03d..03beea1 100644
--- a/packages/hooks/dic.ts
+++ b/packages/hooks/dic.ts
@@ -112,13 +112,13 @@
return queryClient.ensureQueryData<
API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]
>({
- queryKey: ['dictionaryServices/getDictionaryDataSelect'],
+ queryKey: ['dictionaryServices/getDictionaryDataSelect', params],
});
}
function updateDictionaryDataSelect(categoryId?: string) {
queryClient.invalidateQueries({
- queryKey: ['dictionaryServices/getDictionaryDataSelect'],
+ queryKey: ['dictionaryServices/getDictionaryDataSelect', params],
});
}
--
Gitblit v1.10.0