From db57720128c37cb3090a514be7948e3698c94d30 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 22 十月 2025 21:44:15 +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