更新 src/App.tsx

This commit is contained in:
2025-11-26 16:19:41 +08:00
parent 45cb399c17
commit 8be41eb550

View File

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