[]LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null

var txt:Label = cell.getChildByName("listNumber") as Label;
 txt.text = data.listNumber;
 
调试时会报:LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null
引擎版本 LayaAirAS3_1.7.7_beta
已邀请:

cuixueying

赞同来自:

最好有个例子,我们看下什么问题,谢谢!

要回复问题请先

商务合作
商务合作