outaozhen 4 năm trước cách đây
mục cha
commit
d90bc24d21
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/pages/Hr/AddressBook/index.tsx

+ 2 - 2
src/pages/Hr/AddressBook/index.tsx

@@ -30,8 +30,8 @@ const AddressBook: React.FC<AddressBookProps> = props => {
       initData()
     }
   }, [])
-  const onSelect = departmentId => {
-    setState({ ...state, departmentId })
+  const onSelect = id => {
+    setState({ ...state, departmentId: id })
   }
   const columns = [
     {