Explorar el Código

fix: 修复通讯录组织架构和字母筛选的联动

outaozhen hace 4 años
padre
commit
78d52952b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/pages/Hr/Contacts/index.tsx

+ 1 - 1
src/pages/Hr/Contacts/index.tsx

@@ -80,7 +80,7 @@ const Contacts: React.FC<ContactsProps> = () => {
   )
 
   const onSelect = id => {
-    setState({ ...state, params: { departmentId: id } })
+    setState({ ...state, params: { departmentId: id, search: state.params.search } })
   }
   const handleSearch = value => {
     setState({ ...state, params: { ...state.params, search: value } })