Commit 45726c09 by ZhengJie

[代码完善](v2.5): v2.5 beta 优化角色编辑/用户编辑等查询部门错误

parent 51b8e0bf
...@@ -8,7 +8,8 @@ export function getDepts(params) { ...@@ -8,7 +8,8 @@ export function getDepts(params) {
}) })
} }
export function getDeptSuperior(data) { export function getDeptSuperior(ids) {
const data = ids.length ? ids : ids.toString().split('')
return request({ return request({
url: 'api/dept/superior', url: 'api/dept/superior',
method: 'post', method: 'post',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment