From f9f0d8967209c9034dc293fb09844db67e06eda7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 21 十月 2025 14:20:12 +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