From 2cd35cdf732d6d22c9bbc09150f664ece8bb94ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?= <615206459@qq.com> Date: Fri, 24 Nov 2023 16:56:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/base/hooks/dept.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {