From 47f1f14d7788b0baf4578d3aaa5b9f989ee65210 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 31 一月 2024 16:36:52 +0800
Subject: [PATCH] 首页统计功能查询判断为空增加

---
 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