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);