diff --git a/apps/web-antd/src/views/system/user/modules/dept-tree.vue b/apps/web-antd/src/views/system/user/modules/dept-tree.vue index ba2bfa37e..d1b7fb0ec 100644 --- a/apps/web-antd/src/views/system/user/modules/dept-tree.vue +++ b/apps/web-antd/src/views/system/user/modules/dept-tree.vue @@ -32,9 +32,9 @@ function handleSearch(e: any) { } /** 选中部门 */ -const handleSelect = (_selectedKeys: any[], info: any) => { +function handleSelect(_selectedKeys: any[], info: any) { emit('select', info.node.dataRef); -}; +} /** 初始化 */ onMounted(async () => {