forked from Gitlink/forgeplus-react
git cherry-pick 975d49
This commit is contained in:
parent
7d0abfb764
commit
c9a9da6de9
|
@ -21,7 +21,8 @@ function ConcentrateBox({ visible , onCancel , onSure , username , choosed , his
|
|||
const [ copyAllList , setCopyAllList ] = useState([]);
|
||||
|
||||
useEffect(()=>{
|
||||
if(visible){
|
||||
if(visible && loadCount === 0){
|
||||
setLoadCount(loadCount+1);
|
||||
setIsSpin(true);
|
||||
getProjectList();
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue