|
用showpage跳转页面的时候总是会谈出新的窗口,后来也找到大神的的回答,必须使用shellimpl对象,我照着教程做了,可是报了一个错误,不知道是为什么?下面贴上代码~
var ShellImpl = require('$UI/system/lib/portal/shellImpl');
var Model = function(){
this.callParent();
this.userid;
var shellImpl = new ShellImpl(this, {
"contentsXid" : "contents1",
"pageMappings" : {
"detail" : {
url : require.toUrl('./detail.w')
}
}
});
};
Model.prototype.row7Click = function(event){
var row = event.bindingContext.$object;
var params={"id":row.val("orderid")};
justep.Shell.showPage('detail',params);
};
错误是这样的:这里居然不能传本地图。。
r.geinnerModel is notafunction |
|