This commit is contained in:
2026-03-15 22:55:55 +08:00
parent d2bcea7810
commit abecbc827d
2 changed files with 29 additions and 2 deletions
+2 -2
View File
@@ -1560,7 +1560,7 @@ const InventoryView = {
const loadProducts = async () => {
state.loading = true;
try {
state.products = await apiRequest('/api/products?limit=200');
state.products = await apiRequest('/api/products?limit=100');
} catch (e) {
handleApiError(e, '加载产品');
} finally {
@@ -1571,7 +1571,7 @@ const InventoryView = {
const loadMaterials = async () => {
state.loading = true;
try {
state.materials = await apiRequest('/api/products?item_type=material&limit=300');
state.materials = await apiRequest('/api/products?item_type=material&limit=100');
} catch (e) {
handleApiError(e, '加载物料');
} finally {