From 8be41eb5509cded68963dc626f64fa5a55fd8bd2 Mon Sep 17 00:00:00 2001 From: mairuiming Date: Wed, 26 Nov 2025 16:19:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/App.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index 37f1acf..a1d4a69 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3702,6 +3702,7 @@ export default function App() { // 执行定价数据查询 const executeQuery = async (packId: string, packType: string) => { + if (queryLoading) return; setQueryLoading(true); try { // 使用 apiService 中的函数 @@ -3763,6 +3764,7 @@ export default function App() { // 执行二次工艺查询 const executeSecondaryProcessQueryLocal = async (packId: string, packType: string) => { + if (secondaryProcessLoading) return; setSecondaryProcessLoading(true); try { const data = await executeSecondaryProcessQuery(packId, packType); @@ -3822,6 +3824,7 @@ export default function App() { // 执行定价详情查询 const executePricingDetailsQueryLocal = async (packId: string) => { + if (pricingDetailsLoading) return; setPricingDetailsLoading(true); try { const data = await executePricingDetailsQuery(packId);