From 70f58df4daebf7dba7f4a24aee506e14885761bd Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 19 八月 2025 14:45:41 +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