This commit is contained in:
神仙都没用 2023-11-24 16:56:47 +08:00
parent 0d144e3089
commit 2cd35cdf73

View File

@ -6,7 +6,6 @@ import ClAvatar from "../components/avatar/index";
export function useDeptViewGroup(options: DeepPartial<ClViewGroup.Options>) { export function useDeptViewGroup(options: DeepPartial<ClViewGroup.Options>) {
const { ViewGroup } = useViewGroup({ const { ViewGroup } = useViewGroup({
...options,
label: "员工列表", label: "员工列表",
service: service.base.sys.department, service: service.base.sys.department,
enableAdd: false, enableAdd: false,
@ -34,7 +33,8 @@ export function useDeptViewGroup(options: DeepPartial<ClViewGroup.Options>) {
}); });
} }
} }
} },
...options
}); });
return { return {