From e581891072a36f0d0f7f57246366ded965e2ab8a Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期四, 25 一月 2024 10:11:17 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复
---
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