diff --git a/src/modules/base/hooks/dept.tsx b/src/modules/base/hooks/dept.tsx index 4ceae33..e5b372e 100644 --- a/src/modules/base/hooks/dept.tsx +++ b/src/modules/base/hooks/dept.tsx @@ -6,7 +6,6 @@ import ClAvatar from "../components/avatar/index"; export function useDeptViewGroup(options: DeepPartial) { const { ViewGroup } = useViewGroup({ - ...options, label: "员工列表", service: service.base.sys.department, enableAdd: false, @@ -34,7 +33,8 @@ export function useDeptViewGroup(options: DeepPartial) { }); } } - } + }, + ...options }); return {