|

楼主 |
发表于 2016-12-6 17:32:51
|
显示全部楼层
不是的,刚解决了,谢谢!
大致是这样的:
发起事件:
justep.Shell.fireEvent("content2", {"xxx":xxx});
justep.Shell.closePage();
在对应要打开的页面的.w 文件处理:
Model.prototype.modelLoad = function(event){
justep.Shell.on("content2", this.content2, this);
};
Model.prototype.modelUnLoad = function(event){
justep.Shell.off("content2", this.content2);
};
Model.prototype.content2 = function(event) {
var xxx = event.xxx;
};
反正有些曲折,不管了,先这样子处理了! |
|