bug fix
This commit is contained in:
parent
9dc6ed5d78
commit
217e11d605
|
|
@ -17,7 +17,9 @@ function Contributor(props) {
|
|||
const [ showList, setShowList] = useState([]);
|
||||
|
||||
function initList() {
|
||||
setShowList([].concat(personList, new Array(personList.length % 3 - 1).fill({})))
|
||||
if (personList.length !== 3) {
|
||||
setShowList([].concat(personList, new Array(personList.length % 3 - 1).fill({})))
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(()=>{
|
||||
|
|
|
|||
|
|
@ -120,7 +120,9 @@ function ZoneVIP(props){
|
|||
}
|
||||
</ul>
|
||||
:
|
||||
<Nodata _html="暂无数据" img={ nodata }/>
|
||||
(
|
||||
temp === 'zone1' ? <Nodata _html="暂无数据" img={ nodata }/> : <Nodata _html="暂无数据" />
|
||||
)
|
||||
}
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue