From 653932d63b5b5dfe82b2561cf7de2aca92cebd06 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 04 七月 2025 15:40:06 +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