Commit a85b1332 by ZhengJie

[代码完善](v2.5): v2.5 beta 代码优化

parent 89dd8d7c
......@@ -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 : Array.of(ids)
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