Commit 89dd8d7c by ZhengJie

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

close #365
parent 45726c09
......@@ -9,7 +9,7 @@ export function getDepts(params) {
}
export function getDeptSuperior(ids) {
const data = ids.length ? ids : ids.toString().split('')
const data = ids.length ? ids : ids.toString().split(',')
return request({
url: 'api/dept/superior',
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