From 3cea95e98c16b2fe15dec2820c3e714b8ce6b926 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 01 九月 2025 15:21:00 +0800
Subject: [PATCH] 添加跑库限制
---
rsf-admin/src/config/MyDataProvider.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/rsf-admin/src/config/MyDataProvider.js b/rsf-admin/src/config/MyDataProvider.js
index 2255bbc..897d7ab 100644
--- a/rsf-admin/src/config/MyDataProvider.js
+++ b/rsf-admin/src/config/MyDataProvider.js
@@ -60,7 +60,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 +74,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,
@@ -135,7 +133,6 @@
// export excel from all data
export: async (resource, params) => {
- console.log("export", resource, params);
const _params = Common.integrateParams(params);
try {
const res = await request.post(`${resource}/export`, _params, {
--
Gitblit v1.9.1