|
window.shell=new ShellImpl(this, {
contentsXid : 'maincontent', //ShellImpl关联的contents, 即page的显示区域
pageMappings: {
main: {
url: require.toUrl("./main.w")
},
dailydask: {
url: require.toUrl("./pages/dailytask.w")
}
}
});
Model.prototype.dailyTaskClick = function(event){
justep.Shell.showPage("dailydask");
};
上面是代码,点击打开页面后,第一次toolbar是不显示的,但第二次显示了,这是什么情况,如图
|
-
第一次打开
-
回退后第二次打开
|