GComboBox中的Glist设置虚拟列表报错
export class EGComboBox extends fairygui.GComboBox{
public constructor() {
super();
}
protected constructFromXML(xml: any): void {
super.constructFromXML(xml);
this._list.setVirtual();
}
堆栈报错
LogError:Windex.error:
TypeError: Cannot read property 'updateFlag' of undefined
at GList.handleScroll1 (http://127.0.0.1:5521/libs/fai ... 329:24)
at GList.handleScroll (http://127.0.0.1:5521/libs/fai ... 196:22)
at GList._refreshVirtualList (http://127.0.0.1:5521/libs/fai ... 068:18)
at GTimers.__timer (http://127.0.0.1:5521/libs/fai ... 434:39)
at SystemTicker.update (http://127.0.0.1:5521/libs/mod ... 048:41)
at onTick (http://127.0.0.1:5521/libs/mod ... 677:24) at (e:\lwtz_h5\cdcq1_h5_game\CrowsZero1\libs\modules\egret\egret.js:14150:26)
public constructor() {
super();
}
protected constructFromXML(xml: any): void {
super.constructFromXML(xml);
this._list.setVirtual();
}
堆栈报错
LogError:Windex.error:
TypeError: Cannot read property 'updateFlag' of undefined
at GList.handleScroll1 (http://127.0.0.1:5521/libs/fai ... 329:24)
at GList.handleScroll (http://127.0.0.1:5521/libs/fai ... 196:22)
at GList._refreshVirtualList (http://127.0.0.1:5521/libs/fai ... 068:18)
at GTimers.__timer (http://127.0.0.1:5521/libs/fai ... 434:39)
at SystemTicker.update (http://127.0.0.1:5521/libs/mod ... 048:41)
at onTick (http://127.0.0.1:5521/libs/mod ... 677:24) at (e:\lwtz_h5\cdcq1_h5_game\CrowsZero1\libs\modules\egret\egret.js:14150:26)
没有找到相关结果
已邀请:
1 个回复
谷主
赞同来自: