fix: 移除重复加载联系记录的副作用逻辑
This commit is contained in:
@@ -187,9 +187,9 @@ const ContactImportDetail: React.FC = () => {
|
||||
}, [id]);
|
||||
|
||||
useEffect(() => {
|
||||
if (activeTab === "records" && records.length === 0) {
|
||||
loadRecords(1, true);
|
||||
}
|
||||
// if (activeTab === "records" && records.length === 0) {
|
||||
// loadRecords(1, true);
|
||||
// }
|
||||
}, [activeTab]);
|
||||
|
||||
if (loading) {
|
||||
|
||||
Reference in New Issue
Block a user