From c281636ad51ca0a6bf6e5ea953e1dad8dfd85594 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 16:42:38 +0800
Subject: [PATCH] fix: bug
---
src/hooks/dic.ts | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/hooks/dic.ts b/src/hooks/dic.ts
index bd004f1..06171e5 100644
--- a/src/hooks/dic.ts
+++ b/src/hooks/dic.ts
@@ -164,18 +164,15 @@
return {
children: [],
areaCode: item.data?.code,
- parentCode: '',
+ parentCode: item.data?.parentCode,
areaName: item.label,
layer: Number(item.data?.field4),
+ quickQuery: item.data?.field2,
sort: item.data?.sort,
id: item.data?.id,
} as API.AreaTreeNode;
}
-/**
- *
- * @description 鏆傛椂鏃犳硶浣跨敤
- */
export function useAllAreaList() {
const { dictionaryDataList } = useDictionaryDataSelect({
categoryCode: CategoryCode.Area,
--
Gitblit v1.9.1