e8470e7bb466699f20f2dfd569df090572ff1580
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>
Description
AI HR Compliance Assistant
Languages
TypeScript
88.2%
HTML
11.3%
Shell
0.3%
Python
0.1%