localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null

当我重新设置了Glist的numItems=0时,每次第一次运行,报错,但是不影响流程进行
但是没有调用配合的RenderItem组件,因为是0;

clipboard.png

 
不知道为啥会如此运行?
已邀请:

谷主

赞同来自:

numItems=0了为什么还有clickItem?

要回复问题请先登录注册