e8470e7bb4
api.ts 响应拦截器 (response) => response.data 已剥离 axios response, OrgChart 中 api.get().then(r => r.data.data) 多取了一层导致返回 undefined。 改为 .then(r => r.data) 即可正确获取部门/岗位数组。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>