diff --git a/kicc-ui/src/views/system/dept/index.vue b/kicc-ui/src/views/system/dept/index.vue index 529a46a4..bf0dfd3c 100644 --- a/kicc-ui/src/views/system/dept/index.vue +++ b/kicc-ui/src/views/system/dept/index.vue @@ -87,7 +87,7 @@ slots: { customRender: 'action' }, fixed: false }, - afterFetch: (result) => listToTree(result) + afterFetch: (result) => listToTree(result, { id: 'deptId' }) }); /** 新增按钮操作,行内新增与工具栏局域新增通用 */