mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2026-02-05 15:45:36 +00:00
优化
This commit is contained in:
parent
0d144e3089
commit
2cd35cdf73
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user