From 8528852ee8533fbd9c31a6d10364f1806ad09e1e Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期六, 08 十一月 2025 15:39:59 +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.10.0