|
楼主 |
发表于 2016-10-21 13:43:09
|
显示全部楼层
本帖最后由 qq883936 于 2016-10-21 13:47 编辑
Model.prototype.windowDialog1Receive = function(event){
if(event.data.reload){
this.comp("baasData1").refreshData();
this.comp("list1").refresh();
this.comp("baasData2").refreshData();
this.comp("list2").refresh();
this.comp("baasData3").refreshData();
}
if(event.data.updateshare){
this.prepareShareMenu(desc,shareid);
}
if(event.data.linkMemberCenter){
alert("true");
this.comp("windowDialog1").open({
src:require.toUrl("./linkMemberCenter.w?"+Math.random()),
params:{
linkid:memberid,
openidpenid,
memberid:event.data.memberid,//memberid
membername:event.data.membername,
desc:desc,
shareid:shareid
}
});
}
};
显示"true"没问题,windowwindowDialog1.open没反应。子页面相关程序片段如下: if(newlinkmember){
self.owner.send({linkMemberCenter:true,memberid:newid,membername:baasD.val("name")});
self.owner.close();
window.close();
}
|
|