From d3be4d813f6745f245d36a07ea705b4db169d273 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 06 十二月 2023 17:21:28 +0800
Subject: [PATCH] 后端返回数据流格式,前端无法捕获到错误信息

---
 Source/UBCS-WEB/src/api/system/dept.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/dept.js b/Source/UBCS-WEB/src/api/system/dept.js
index d05c15d..e1e56b7 100644
--- a/Source/UBCS-WEB/src/api/system/dept.js
+++ b/Source/UBCS-WEB/src/api/system/dept.js
@@ -12,13 +12,15 @@
   })
 }
 
-export const getLazyList = (parentId, params) => {
+export const getLazyList = (parentId, params,current, size,) => {
   return request({
     url: '/api/ubcs-system/dept/lazy-list',
     method: 'get',
     params: {
       ...params,
-      parentId
+      parentId,
+      current,
+      size
     }
   })
 }
@@ -78,4 +80,3 @@
     }
   })
 }
-

--
Gitblit v1.9.3