From 84aedf23b13386576a70b21ebdf5d6ddd9c947ec Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 09:43:32 +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