From 058b9b412c1eb4d9292f0c0a9de5c6e9f4815bbf Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 12 九月 2025 14:00:21 +0800 Subject: [PATCH] fix: bug --- packages/hooks/area.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/packages/hooks/area.ts b/packages/hooks/area.ts index c8dd413..506b61d 100644 --- a/packages/hooks/area.ts +++ b/packages/hooks/area.ts @@ -51,6 +51,8 @@ { showLoading: false } ); }, + placeholderData: () => [] as API.GetAreaSelectQueryResultOption[], + staleTime: Infinity, }); // const areaTree = computed(() => formatAreaListToTree(areaList.value, null, unref(maxLayer))); -- Gitblit v1.9.1