@@ -83,7 +83,7 @@ const Client = props => {
})
return { personTagMap, teamTagMap, personOptions, teamOptions }
- }, [loading])
+ }, [loading, shouldUpdate])
// 默认刷新一次列表请求数据
useEffect(() => {
@@ -109,7 +109,7 @@ const Company = props => {
return { personTagMap, teamTagMap, natureMap, personOptions, teamOptions }
const [defaultPermAuthCache] = getPermAuthCache(PermDataTypeEunm.CUSTOMER)