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/system/classifyAuth.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/classifyAuth.js b/Source/UBCS-WEB/src/api/system/classifyAuth.js
index 179fb9f..1649b0b 100644
--- a/Source/UBCS-WEB/src/api/system/classifyAuth.js
+++ b/Source/UBCS-WEB/src/api/system/classifyAuth.js
@@ -12,9 +12,10 @@
 
 export const saveOrUpdate = (data) => {
     return request({
+      headers:{'Content-Type':'application/json'},
       url: '/api/ubcs-system/classifyAuth/saveOrUpdate',
       method: 'post',
-      data: data
+      data: JSON.stringify(data)
     })
 }
 

--
Gitblit v1.9.3