x
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user