cuixueying
function daoju() {
daoju.super(this);
this.Tab_ZM.selectHandler = new Laya.Handler(this, onSelect);
}
function onSelect(index)
{
console.log("当前选择的标签页索引为:" + index););
this.Tab_ZM.on(Event.CLICK,this,onDaoju(index));
}
想请问下,这样添加,我上面点击事件只执行一次,就连打印出onSelect里的东西也只有一次?