优化初始化以及去掉固定供应商ID
This commit is contained in:
@ -41,8 +41,10 @@ const ContactsInfoTab: React.FC<Props> = (props) => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
fetchContacts();
|
||||
}, []);
|
||||
if(record) {
|
||||
fetchContacts();
|
||||
}
|
||||
}, [record]);
|
||||
|
||||
const handleTableChange = (pagination: TablePaginationConfig) => {
|
||||
fetchContacts(pagination.current!, pagination.pageSize!);
|
||||
|
Reference in New Issue
Block a user