From a891e50e25f1b2b60d4c1e132ae9ff165e9834b0 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期一, 29 一月 2024 09:09:54 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复

---
 Source/UBCS-WEB/src/api/GetItem.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/GetItem.js b/Source/UBCS-WEB/src/api/GetItem.js
index 824248b..64778a7 100644
--- a/Source/UBCS-WEB/src/api/GetItem.js
+++ b/Source/UBCS-WEB/src/api/GetItem.js
@@ -138,10 +138,10 @@
 }
 
 //鎵嬪姩鍚屾
-export const syncSearch = (params) => {
+export const syncSearch = (data) => {
   return request({
-    url: 'ubcs-code/dockingManagement/searchItemDataForERP',
-    method: 'get',
-    params
+    url: '/api/ubcs-code/dockingManagement/searchItemDataForERP',
+    method: 'post',
+    data
   })
 }

--
Gitblit v1.9.3