From 79edfec1f6e6789d3f6cc57db3cb0cfdffd64c32 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期二, 24 二月 2026 15:50:32 +0800
Subject: [PATCH] 库位拣料出库数量调整

---
 rsf-admin/src/config/MyDataProvider.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/rsf-admin/src/config/MyDataProvider.js b/rsf-admin/src/config/MyDataProvider.js
index cfc312f..1e13a53 100644
--- a/rsf-admin/src/config/MyDataProvider.js
+++ b/rsf-admin/src/config/MyDataProvider.js
@@ -37,7 +37,10 @@
 
   // get a list of records based on an array of ids
   getMany: async (resource, params) => {
-    // console.log("getMany", resource, params);
+
+    if (resource === "user") {
+      await new Promise((r) => setTimeout(r, 1000));
+    }
     const res = await request.post(resource + "/many/" + params.ids);
     const { code, msg, data } = res.data;
     if (code === 200) {
@@ -60,7 +63,6 @@
 
   // create a record
   create: async (resource, params) => {
-    console.log("create", resource, params);
     const res = await request.post(resource + "/save", params?.data);
     const { code, msg, data } = res.data;
     if (code === 200) {
@@ -75,7 +77,6 @@
 
   // update a record based on a patch
   update: async (resource, params) => {
-    console.log("update", resource, params);
     const res = await request.post(resource + "/update", {
       id: params.id,
       ...params.data,

--
Gitblit v1.9.1