[]dialog第一次可以正常调出,第二次无法正常popup出来
这是工程文件
另外ide断点设置后,有时无法生效
比如
无法定位到LayaSample.js中的这个函数
function LoadResComplete() {
var loginView = new LoginView();
loginView.init();
Laya.stage.addChild(loginView);
}
LoginView.js中的init函数
LoginView.prototype.init = function () {
this.btnReg.on(Laya.Event.CLICK, this, this.onBtnReg);
this.btnLogin.on(Laya.Event.CLICK, this, this.onBtnLogin);
this.dlg = new NormalDialog();
this.dlg.init();
};
另外ide断点设置后,有时无法生效
比如
无法定位到LayaSample.js中的这个函数
function LoadResComplete() {
var loginView = new LoginView();
loginView.init();
Laya.stage.addChild(loginView);
}
LoginView.js中的init函数
LoginView.prototype.init = function () {
this.btnReg.on(Laya.Event.CLICK, this, this.onBtnReg);
this.btnLogin.on(Laya.Event.CLICK, this, this.onBtnLogin);
this.dlg = new NormalDialog();
this.dlg.init();
};
没有找到相关结果
已邀请:
2 个回复
jonahzheng
赞同来自:
cuixueying
赞同来自: