From d40fa6a75abedca6d0849b38195e428ade19c702 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 04 七月 2025 17:51:30 +0800 Subject: [PATCH] fix: bug --- src/hooks/dic.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/hooks/dic.ts b/src/hooks/dic.ts index 7c5ab3e..e206017 100644 --- a/src/hooks/dic.ts +++ b/src/hooks/dic.ts @@ -80,8 +80,13 @@ staleTime: Infinity, }); + function getInsureProductSchemeByCode(code: string) { + return allInsureProductSchemeList.value.find((x) => x.code === code); + } + return { allInsureProductSchemeList, refetch, + getInsureProductSchemeByCode, }; } -- Gitblit v1.9.1