git cherry-pick 975d49

This commit is contained in:
caishi 2021-06-02 18:22:29 +08:00 committed by caishi
parent 7d0abfb764
commit c9a9da6de9
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ function ConcentrateBox({ visible , onCancel , onSure , username , choosed , his
const [ copyAllList , setCopyAllList ] = useState([]); const [ copyAllList , setCopyAllList ] = useState([]);
useEffect(()=>{ useEffect(()=>{
if(visible){ if(visible && loadCount === 0){
setLoadCount(loadCount+1);
setIsSpin(true); setIsSpin(true);
getProjectList(); getProjectList();
}else{ }else{