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

This commit is contained in:
ZhengJie
2020-05-21 14:12:38 +08:00
parent 51b8e0bf02
commit 45726c091c

View File

@@ -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({
url: 'api/dept/superior',
method: 'post',